aboutsummaryrefslogtreecommitdiff
path: root/templates/template.html
blob: 8491bc5bf749a7b122d0010ccc1b0c0f915a0f21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8"/>
    <meta name="generator" content="pandoc"/>
    <meta name="author" content="Zhiming Wang"/>
$if(date)$
    <meta name="date" content="$date$"/>
$endif$
    <title>$pagetitle$</title>
    <link rel="apple-touch-icon-precomposed" href="/img/apple-touch-icon-152.png"/>
    <meta name="msapplication-TileColor" content="#FFFFFF"/>
    <meta name="msapplication-TileImage" content="/img/favicon-144.png"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <style type="text/css">code{white-space: pre;}</style>
    <link href="//fonts.googleapis.com/css?family=Open+Sans:regular" rel="stylesheet" type="text/css"/>
    <link href="//fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic" rel="stylesheet" type="text/css"/>
    <link href="//fonts.googleapis.com/css?family=Droid+Sans+Mono" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
    <link href='/css/normalize.css' media="all" rel="stylesheet" type="text/css"/>
    <link href='/css/theme.css' media="all" rel="stylesheet" type="text/css"/>
    <link href='/css/theme-wide.css' media="only screen and (min-width: 1441px)" rel="stylesheet" type="text/css"/>
    <link href='/css/theme-narrow.css' media="only screen and (max-width: 1023px)" rel="stylesheet" type="text/css"/>
    <link href='/css/print.css' media="print" rel="stylesheet" type="text/css"/>
    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
      ga('create', 'UA-53908325-1', 'auto');
      ga('require', 'displayfeatures');
      ga('send', 'pageview');
    </script>
  </head>
  <body>
    <nav class="nav">
      <a class="nav-icon" href="/" title="Home"><!--blog icon--></a>
      <div class="nav-title"><a href="/" class="nav-link">dl? cmplnts?</a></div>
      <div class="nav-author">by <a href="https://github.com/zmwangx" class="nav-link" target="_blank">Zhiming Wang</a></div>
    </nav>
    <article class="content">
$if(title)$
      <header class="article-header">
        <h1 class="article-title">$title$</h1>
$if(subtitle)$
        <h1 class="article-subtitle">$subtitle$</h1>
$endif$
        <h2 class="article-metadata">
$if(date-display)$
          <time class="article-timestamp" $if(date)$datetime="$date$"$endif$>$date-display$,</time>
$endif$
          by <span class="article-author">Zhiming Wang</span>
        </h2>
      </header>
$endif$
$body$
    </article>
    <hr class="content-separator"/>
    <footer class="footer">
$if(updated)$
      <span class="lfooter">
        <time class="updated" datetime="$updated$"><code>$updated$</code></time>
      </span>
$endif$
      <span class="rfooter">
        <a class="rss-icon fa fa-rss fa-flip-horizontal" href="/rss.xml" target="_blank" title="RSS feed"><!--RSS feed icon--></a><a class="atom-icon fa fa-rss" href="/atom.xml" target="_blank" title="Atom feed"><!--Atom feed icon--></a><a class="cc-icon fa fa-creative-commons" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" title="Released under the Creative Commons Attribution 4.0 International license."><!--CC icon--></a>
        <a href="https://github.com/zmwangx" target="_blank">Zhiming Wang</a>
      </span>
    </footer>
  </body>
</html>