aboutsummaryrefslogtreecommitdiffstats
path: root/templates/default.html
blob: d29cb13f1026790f495c1da9346506d8d4b3c236 (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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
$for(author-meta)$
  <meta name="author" content="$author-meta$">
$endfor$
$if(date-meta)$
  <meta name="dcterms.date" content="$date-meta$">
$endif$
$if(description)$
  <meta name="description" content="$description$">
$endif$
$if(keywords)$
  <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$">
$endif$
  <title>$if(title-prefix)$$title-prefix$ – $endif$$title$</title>
  <link rel="alternate" type="application/rss+xml" href="$feed$">
  <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
  <link rel="manifest" href="/site.webmanifest">
  <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#eea35f">
  <meta name="msapplication-TileColor" content="#da532c">
  <meta name="theme-color" content="#eea35f">
  <style>
    code{white-space: pre-wrap;}
    span.smallcaps{font-variant: small-caps;}
    span.underline{text-decoration: underline;}
    div.column{display: inline-block; vertical-align: top; width: 50%;}
$if(quotes)$
    q { quotes: "“" "”" "‘" "’"; }
$endif$
  </style>
$if(highlighting-css)$
  <style>
$highlighting-css$
  </style>
$endif$
$for(css)$
  <link rel="stylesheet" href="$css$">
$endfor$
$for(header-includes)$
  $header-includes$
$endfor$
</head>
<body>
$for(include-before)$
$include-before$
$endfor$

<nav class="navbar">
  [<a href="/">home</a>]&nbsp;
  [<a href="/blog/">blog</a>]&nbsp;
  [<a href="https://git.sacredheartsc.com/">git</a>]&nbsp;
  [<a href="https://mastodon.sacredheartsc.com/@stonewall" title="@stonewall@sacredheartsc.com">mastodon</a>]&nbsp;
  [<a href="mailto:stonewall@sacredheartsc.com" title="stonewall@sacredheartsc.com">email</a>]&nbsp;
  [<a href="$feed$">rss</a>]
  <span style="float: right">JMJ</span>
<hr>
</nav>

<header>
$if(heading)$
  <h1 class="title">$heading$</h1>
$else$
  <h1 class="title">$title$</h1>
$endif$
$if(subtitle)$
  <p class="subtitle">$subtitle$</p>
$endif$
$if(date)$
<p class="date">$date$ AD</p>
$endif$
</header>

$if(toc)$
<nav id="$idprefix$toc" role="doc-toc">
$table-of-contents$
</nav>
$endif$

$body$

$for(include-after)$
$include-after$
$endfor$
</body>
</html>