blob: b353f68037ff463ca5a2fe5d5b28d363c552a94f (
plain) (
blame)
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
|
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Trivium: ${self[:month]}</title>
$ if self[:entries].first[:prev_by_month]
<link rel="prev" href="${self[:entries].first[:prev_by_month]}">
$ end
$ if self[:entries].first[:next_by_month]
<link rel="next" href="${self[:entries].first[:next_by_month]}">
$ end
<link rel="up" href="./">
<link rel="stylesheet" href="style.css">
<link rel="alternate" type="application/atom+xml" title="Atom" href="http://chneukirchen.org/trivium/index.atom">
</head>
<body>
<div class="hfeed">
<h1><a href="./"><img src="trivium.png" alt="Trivium"></a></h1>
<small class="top nav">
$ if self[:entries].first[:prev_by_month]
<a class="prev" href="${self[:entries].first[:prev_by_month]}">« ${Time.parse(self[:entries].first[:prev_by_month]).strftime("%B %Y")}</a>
$ end
$ if self[:entries].first[:next_by_month]
<a class="next" href="${self[:entries].first[:next_by_month]}">${Time.parse(self[:entries].first[:next_by_month]).strftime("%B %Y")} »</a>
$ end
</small>
$ self[:entries].each { |entry|
<div class="hentry">
<h2 class="entry-title">
<a href="${entry[:id]}" rel="bookmark">
<abbr class="published" title="${entry[:date].iso8601}">
${entry[:title]}
</abbr>
</a>
</h2>
<div class="entry-content">
$:{format entry}
</div>
</div>
$ }
<small class="bot nav">
$ if self[:entries].first[:prev_by_month]
<a class="prev" href="${self[:entries].first[:prev_by_month]}">« ${Time.parse(self[:entries].first[:prev_by_month]).strftime("%B %Y")}</a>
$ end
$ if self[:entries].first[:next_by_month]
<a class="next" href="${self[:entries].first[:next_by_month]}">${Time.parse(self[:entries].first[:next_by_month]).strftime("%B %Y")} »</a>
$ end
</small>
<address class="author vcard">
Copyright © 2008 <a class="email fn" href="mailto:chneukirchen@gmail.com">Christian Neukirchen</a>
</address>
</div>
</body>
</html>
|