aboutsummaryrefslogtreecommitdiff
path: root/source/template.html
blob: 90e23e35e237f84a7d7254c6f4c3ad83980215a9 (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
<!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/normalize.min.css" media="all" rel="stylesheet" type="text/css"/>
    <link href="/css/theme.css" media="all" 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$
$if(custom-css)$
    <style type="text/css">$custom-css$</style>
$endif$
  </head>
  <body>
    <div id="archival-notice">This blog has been archived.<br>Visit my home page at <a href="https://zhimingwang.org">zhimingwang.org</a>.</div>
    <nav class="nav">
      <a class="nav-icon" href="/" title="Home"><!--blog icon--></a>
      <a class="nav-title" href="/"><!--blog title--></a>
      <a class="nav-author" href="https://github.com/zmwangx" target="_blank"><!--blog author--></a>
    </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>