Index

joshstock.in / eab62ee

Source for serving and static templating/compiling of https://joshstock.in.

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
8128 Mar 2020 23:26b2d3957Rewrite template engineJosh Stockin1630G

Blob @ joshstock.in / root / resources / templates / blog-article.html

text/html1296 bytesdownload raw
1<!DOCTYPE html>
2<html>
3 <head>
4$meta
5 <link rel="stylesheet" href="/static/blog.css">
6 <link rel="stylesheet" href="/static/footer.css">
7 </head>
8 <body onscroll="scroll();">
9 <div class="blog-banner" style="background-image: url($banner);"></div>
10 <div class="blog-page">
11 <div class="blog-center">
12 <span><a href="/blog"><< Back to archive</a></span>
13 <h1 class="blog-top-1" style="margin-top:0">$title</h1>
14 <p class="blog-top-2"><code>$datestring</code><i class="blog-readtime">$readtime</i></p>
15 $content
16 <p><a href="$permalink">Article Permalink</a></p>
17 <script type="text/javascript" src="/static/banner_scroll.js"></script>
18 <div id="disqus_thread"></div>
19 <script>
20 var disqus_config = function () {
21 this.page.url = "https://joshstock.in$permalink";
22 this.page.identifier = "https://joshstock.in$permalink";
23 };
24 (function() {
25 var d = document, s = d.createElement('script');
26 s.src = 'https://joshstockin.disqus.com/embed.js';
27 s.setAttribute('data-timestamp', +new Date());
28 (d.head || d.body).appendChild(s);
29 })();
30 </script>
31 <noscript><p>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</p></a></noscript>
32$footer
33 </div>
34 </div>
35 </body>
36</html>
37