|
0
|
1 <!DOCTYPE html>
|
|
|
2 <html lang="en">
|
|
|
3 <head>
|
|
|
4 <meta charset="utf-8">
|
|
|
5 <meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
6 <title>{{title}} - Example site</title>
|
|
|
7 {% if metaDescription|isnotempty %}<meta name="description" content="{{metaDescription}}">
|
|
|
8 {% endif %}<link rel="canonical" href="{{pageUrl}}">
|
|
|
9 <meta property="og:type" content="website">
|
|
|
10 <meta property="og:site_name" content="Example site">
|
|
|
11 <meta property="og:title" content="{{title}}">
|
|
|
12 {% if metaDescription|isnotempty %}<meta property="og:description" content="{{metaDescription}}">
|
|
|
13 {% endif %}<meta property="og:url" content="{{pageUrl}}">
|
|
|
14 {% if ogImage|isnotempty %}<meta property="og:image" content="{{ogImage}}">
|
|
|
15 <meta property="og:image:width" content="{{ogImageWidth}}">
|
|
|
16 <meta property="og:image:height" content="{{ogImageHeight}}">
|
|
|
17 <meta name="twitter:card" content="summary_large_image">
|
|
|
18 {% endif %}{% if ogImageAlt|isnotempty %}<meta property="og:image:alt" content="{{ogImageAlt}}">
|
|
|
19 {% endif %}{% if ogImage|isempty %}<meta name="twitter:card" content="summary">
|
|
|
20 {% endif %}<link rel="stylesheet" href="{{relRoot}}style.css">
|
|
|
21 </head>
|
|
|
22 <body>
|
|
|
23
|
|
|
24 <header class="site-head">
|
|
|
25 <p class="site-title"><a href="{{relRoot}}index.html">Example site</a></p>
|
|
|
26 <ul class="site-nav">
|
|
|
27 <li><a href="{{relRoot}}notes/index.html">Notes</a></li>
|
|
|
28 <li><a href="{{relRoot}}about.html">About</a></li>
|
|
|
29 </ul>
|
|
|
30 </header>
|
|
|
31
|
|
|
32 <main>
|
|
|
33 {% if tags|isnotempty %}
|
|
|
34 <ul class="tags">
|
|
|
35 {% loop tags %}<li><a href="{{url}}">{{name}}</a></li>
|
|
|
36 {% endloop %}</ul>
|
|
|
37 {% endif %}
|
|
|
38 {% if createdDate|isnotempty %}
|
|
|
39 <p class="created"><time datetime="{{created_at}}">{{createdDate}}</time></p>
|
|
|
40 {% endif %}
|
|
|
41 <h1>{{title}}</h1>
|
|
|
42 {% if subtitle|isnotempty %}
|
|
|
43 <p class="subtitle">{{subtitle}}</p>
|
|
|
44 {% endif %}
|
|
|
45 {% if timeframe|isnotempty %}
|
|
|
46 <p class="timeframe">{{timeframe}}</p>
|
|
|
47 {% endif %}
|
|
|
48
|
|
|
49 {{body|literal}}
|
|
|
50 {% if repository|isnotempty %}
|
|
|
51 <p class="page-link"><a href="{{repository}}">Source repository</a></p>
|
|
|
52 {% endif %}
|
|
|
53 {% if crossrefUrl|isnotempty %}
|
|
|
54 <p class="page-link"><a href="{{crossrefUrl}}">See also</a></p>
|
|
|
55 {% endif %}
|
|
|
56 {{footnotes|literal}}
|
|
|
57 {% if updatedDate|isnotempty %}
|
|
|
58 <p class="updated">Last updated <time datetime="{{updated_at}}">{{updatedDate}}</time></p>
|
|
|
59 {% endif %}
|
|
|
60 </main>
|
|
|
61
|
|
|
62 <footer class="site-foot">
|
|
|
63 <p><a href="{{relRoot}}index.html">Home</a></p>
|
|
|
64 </footer>
|
|
|
65
|
|
|
66 </body>
|
|
|
67 </html>
|