diff options
-rw-r--r-- | template/front.ht | 1 | ||||
-rw-r--r-- | template/monthly.ht | 1 | ||||
-rw-r--r-- | template/single.ht | 3 |
3 files changed, 4 insertions, 1 deletions
diff --git a/template/front.ht b/template/front.ht index d78977c..ba7b854 100644 --- a/template/front.ht +++ b/template/front.ht @@ -5,6 +5,7 @@ <title>Trivium</title> <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> diff --git a/template/monthly.ht b/template/monthly.ht index e852b5f..b353f68 100644 --- a/template/monthly.ht +++ b/template/monthly.ht @@ -9,6 +9,7 @@ $ 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> 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]}">« ${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]} »</a> $ end |