aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/Plugin/calendar.pm13
-rw-r--r--debian/changelog1
2 files changed, 5 insertions, 9 deletions
diff --git a/IkiWiki/Plugin/calendar.pm b/IkiWiki/Plugin/calendar.pm
index e3c5e2f2d..71c671d67 100644
--- a/IkiWiki/Plugin/calendar.pm
+++ b/IkiWiki/Plugin/calendar.pm
@@ -300,21 +300,16 @@ EOF
my $tag;
my $mtag=sprintf("%02d", $month);
if ($month == $params{month}) {
- if ($pagesources{"$archivebase/$params{year}/$mtag"}) {
- $tag = 'this_month_link';
- }
- else {
- $tag = 'this_month_nolink';
- }
+ $tag = 'year-calendar-this-month';
}
elsif ($pagesources{"$archivebase/$params{year}/$mtag"}) {
- $tag = 'month_link';
+ $tag = 'year-calendar-month-link';
}
elsif ($future_month && $month >= $future_month) {
- $tag = 'month_future';
+ $tag = 'year-calendar-month-future';
}
else {
- $tag = 'month_nolink';
+ $tag = 'year-calendar-month-nolink';
}
if ($pagesources{"$archivebase/$params{year}/$mtag"}) {
diff --git a/debian/changelog b/debian/changelog
index e9f09a8c6..b9d1923cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -34,6 +34,7 @@ ikiwiki (3.2009XXXX) UNRELEASED; urgency=low
linked to an archive page from the wrong year, or were missing.
* git: --getctime will now follow renames back to the original creation
of a file.
+ * calendar: Fix CSS for year calendar to match the plugin documentation.
-- Joey Hess <joeyh@debian.org> Fri, 09 Oct 2009 19:53:50 -0400