calendarmonth.tmpl: The month calendar is now put in a sidebar.

master
Joey Hess 2010-04-15 18:51:50 -04:00
parent 579ee70e95
commit c0a2eaf796
2 changed files with 3 additions and 0 deletions

1
debian/changelog vendored
View File

@ -42,6 +42,7 @@ ikiwiki (3.20100415) UNRELEASED; urgency=low
* Enable calendar and sidebar in auto-blog.setup.
* sidebar: Add global_sidebars setting.
* conditional: Fix bug that forced "all" mode off by default.
* calendarmonth.tmpl: The month calendar is now put in a sidebar.
-- Joey Hess <joeyh@debian.org> Sun, 04 Apr 2010 12:17:11 -0400

View File

@ -1,3 +1,5 @@
[[!sidebar content="""
[[!calendar type=month month=<TMPL_VAR MONTH> year=<TMPL_VAR YEAR> pages="<TMPL_VAR PAGESPEC>"]]
"""]]
[[!inline pages="creation_month(<TMPL_VAR MONTH>) and creation_year(<TMPL_VAR YEAR>) and <TMPL_VAR PAGESPEC>" show=0 feeds=no reverse=yes]]