diff options
Diffstat (limited to 'template/single.ht')
-rw-r--r-- | template/single.ht | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/template/single.ht b/template/single.ht new file mode 100644 index 0000000..3c21fa0 --- /dev/null +++ b/template/single.ht @@ -0,0 +1,51 @@ +<!DOCTYPE html> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>Trivium: ${self[:title]}</title> +$ 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="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]}">« ${l[:title]}</a> +$ end + +$ if l=Entry[self[:next_by_date]] +<a class="next" href="${l[:id]}">${l[:title]} »</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 © 2008 <a class="email fn" href="mailto:chneukirchen@gmail.com">Christian Neukirchen</a> +</address> + +</div> +</body> +</html> + |