summary refs log tree commit diff
path: root/template/single.ht
diff options
context:
space:
mode:
Diffstat (limited to 'template/single.ht')
-rw-r--r--template/single.ht3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/single.ht b/template/single.ht
index 3c21fa0..fb7873d 100644
--- a/template/single.ht
+++ b/template/single.ht
@@ -9,6 +9,7 @@ $ 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>
@@ -21,7 +22,7 @@ $ end
 $ 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