Index

joshstock.in / 171aa88

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

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
2522 Dec 2019 19:24ee7e31fUpdate blog formatting; move CSS substitution to new stylesheetJosh Stockin154N

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

text/html1647 bytesdownload raw
1<!DOCTYPE html>
2<html>
3 <head>
4 <meta http-equiv="content-type" content="text/html; charset=utf-8">
5 <title>Josh Stockin - $title</title>
6 <meta name="title" content="$title" />
7 <meta name="description" content="$summary" />
8 <meta property="og:site_name" content="Josh Stockin" />
9 <meta property="og:title" content="$title" />
10 <meta property="og:description" content="$summary" />
11 <meta property="og:type" content="website" />
12 <meta property="og:image" content="$banner" />
13 <meta property="og:url" content="https://joshstock.in$permalink" />
14 <link rel="stylesheet" href="/blog.css">
15 <meta name="viewport" content="width=device-width, initial-scale=1">
16 </head>
17 <body>
18 <div class="blog-center">
19 <span><a href="/blog">← Back to archive</a></span>
20 <h1>Josh Stockin</h1>
21 <img class="blog-banner" style="background-image: url($banner)"/>
22 <h2 class="blog-top-1">$title</h2>
23 <p class="blog-top-2"><code>$date</code></p>
24 <hr>
25 $content
26 <p><a href="$permalink">Article Permalink</a></p>
27 <div id="disqus_thread"></div>
28 <script>
29 var disqus_config = function () {
30 this.page.url = "https://joshstock.in$permalink";
31 this.page.identifier = "https://joshstock.in$permalink";
32 };
33 (function() {
34 var d = document, s = d.createElement('script');
35 s.src = 'https://joshstockin.disqus.com/embed.js';
36 s.setAttribute('data-timestamp', +new Date());
37 (d.head || d.body).appendChild(s);
38 })();
39 </script>
40 <noscript><p>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</p></a></noscript>
41 $copyright
42 </div>
43 </body>
44</html>
45