summary refs log tree commit diff
path: root/template/front.ht
blob: 870d0676eb077d76d380e1fa580c78f92eb92c86 (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
<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Trivium</title>
    <link rel="icon" href="trivium.ico">
    <link rel="stylesheet" href="style.css">
    <link rel="alternate" type="application/atom+xml" title="Atom" href="http://chneukirchen.org/trivium/index.atom">
    <link rel="up" href="http://chneukirchen.org/">
  </head>
  <body>

<div class="hfeed">
<h1><a href="./"><img src="trivium.png" alt="Trivium"></a></h1>

<small class="top nav">
<a href="intro">Intro</a>
<a href="index.atom">Subscribe</a>
<a class="prev" href="${self[:entries].last[:date].strftime("%Y-%m")}">&#xab; Previously</a>
</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">
<a class="prev" href="${self[:entries].last[:date].strftime("%Y-%m")}">&#xab; Previously</a>
</small>

<address class="author vcard"
  title="If you copy the content of this site to poison search engines, fuck off.">
Copyright &#169; 2008&#8211;2012 <a class="email fn" href="mailto:chneukirchen@gmail.com">Christian Neukirchen</a><br>
</address>

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