-
Notifications
You must be signed in to change notification settings - Fork 0
/
.index-template.html
73 lines (73 loc) · 2.02 KB
/
.index-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
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
<!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/">
<title>$BLOG_TITLE</title>
<meta name="description" content="$BLOG_INTRO">
<style>
html {color-scheme: light dark}
body {
margin: auto;
max-width: 80ex;
padding: 1ex; /* for 📱 users*/
}
header a, footer a, small a {color: inherit !important} /* linktext */
a.title {font-size:larger; font-weight: bolder}
</style>
</head><body>
<header>
<h1 style="border-bottom: 1px solid #8888">
$BLOG_TITLE
<small style="font: initial;margin-left: 3em">
$BLOG_INTRO
</small>
</h1>
<nav>
You may also like my:
<a href="../ru/">Russian blog</a>,
<a href="../photos/en.html">Photo Archive</a>,
<a href="https://github.com/Lex-2008/">GitHub</a>
</nav>
<!--
<hr>
<p style="text-align: justify;">Filter posts by tags:<br><span id="tags"></span><p>
<a id="showall" href="#" style="float:right;margin-left:1ex">(show all ? posts)</a>
<p><label>Filter posts and tags by search:
<input type="search" id="search" placeholder="Type to search">
</label></p>
-->
<hr>
</header>
<main>
<ol style="padding-left:0px">
<!-- put contents below -->
<!-- begin $name -->
<li>
<a href="$name.html" class="title">$title</a>
<br>
<small>
Created: <time>$created</time> — modified: <time>$modified</time> —
tags: $htmltags
</small>
<p>
<span class="intro">$intro</span>
—
<a href="$name.html">read more</a>
</p>
<div> <!-- for scripts
$created
$tags
--> </div>
</li>
<!-- end $name -->
</ol>
</main>
<script src="script.js"></script>
<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 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>