aboutsummaryrefslogtreecommitdiff
path: root/source/template.html
blob: 5c7895b9f2f42657b6bae6d689fb87f79d6dd287 (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
<!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">
    <link href="/css/fonts.css" media="all" rel="stylesheet" type="text/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/theme-ultranarrow.css" media="only screen and (max-width: 500px)" rel="stylesheet" type="text/css"/>
$if(chinese_article)$
    <link href="/css/theme-chinese-article.css" rel="stylesheet" type="text/css"/>
$endif$
$if(highlighting-css)$
    <link href="/css/highlight.css" media="all" rel="stylesheet" type="text/css"/>
$endif$
    <link href="/css/print.css" media="print" rel="stylesheet" type="text/css"/>
$if(chinese_article)$
    <link href="/css/print-chinese-article.css" media="print" rel="stylesheet" type="text/css"/>
$endif$
  </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$
        <div class="article-metadata">
$if(author)$
          <span class="article-author">$author$</span><br/>
$endif$
$if(date_display)$
          <time class="article-timestamp" $if(date)$datetime="$date$"$endif$>$date_display$</time>
$endif$
        </div>
      </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" href="/rss.xml" target="_blank" title="RSS feed"><!--RSS feed icon--></a><a class="atom-icon" href="/atom.xml" target="_blank" title="Atom feed"><!--Atom feed icon--></a><a class="cc-icon" 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>