-
Notifications
You must be signed in to change notification settings - Fork 0
/
.post-template.html
40 lines (40 loc) · 1.19 KB
/
.post-template.html
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
<!doctype html><html lang="en"><head><meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="$BLOG_URL/$name.html">
<title>$texttitle</title>
<meta name="description" content="$textintro">
<style>
html {color-scheme: light dark}
body {
margin: auto;
max-width: 80ex;
text-align: justify;
hyphens: auto;
padding: 1ex; /* for 📱 users*/
}
header a, footer a, small a {color: inherit !important} /* linktext */
$styles $style
</style>
</head><body>
<header>
<h1 style="border-bottom: 1px solid #8888">$title</h1>
<small>
Created: <time>$created</time> — modified: <time>$modified</time> —
tags: $htmltags
</small>
<hr>
</header>
<main>
<p class="intro">$intro</p>
=====
</main>
<footer style="text-align: center">
<hr>
<p>
<a href="http://creativecommons.org/licenses/by/4.0/" title="Creative Commons Attribution">CC BY</a>
<a href="http://alexey.shpakovsky.ru/">Alexey Shpakovsky</a> —
<a href="./">show all posts</a> —
<a id="email" href="javascript:(l=document.getElementById('email')).href='mailto:'+(l.innerHTML=location.hostname.replace('.','@'));void 0">show e-mail</a>
</p>
</footer>
</body></html>