summary refs log tree commit diff
path: root/template/single.ht
blob: 9c7db7dc4af3dabdad6cb70d08e562b074248b6c (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
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Trivium: ${self[:title]}</title>
    <link rel="icon" href="trivium.ico">
$ if self[:prev_by_date]
    <link rel="prev" href="${self[:prev_by_date]}">
$ end
$ if self[:next_by_date]
    <link rel="next" href="${self[:next_by_date]}">
$ end
    <link rel="up" href="${self[:date].strftime("%Y-%m")}">
    <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 l=Entry[self[:prev_by_date]]
<a class="prev" href="${l[:id]}">&#xab; ${l[:title]}</a>
$ end
<a class="month" href="${self[:date].strftime("%Y-%m")}">${self[:date].strftime("%B %Y")}</a>
$ if l=Entry[self[:next_by_date]]
<a class="next" href="${l[:id]}">${l[:title]} &#xbb;</a>
$ end
</small>

<div class="hentry">
<h2 class="entry-title">
  <a href="${self[:id]}" rel="bookmark">
    <abbr class="published" title="${self[:date].iso8601}">
      ${self[:title]}
    </abbr>
  </a>
</h2>

<div class="entry-content">
$:{format self}
</div>
</div>

<address class="author vcard">
Copyright &#169; 2008&#8211;2013 <a class="email fn" href="mailto:chneukirchen@gmail.com">Christian Neukirchen</a>
</address>

</div>
</body>
</html>