diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-11 16:42:49 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-11 16:52:54 -0400 |
commit | e1939185d29e1431861e63d6526cb3a498d6033e (patch) | |
tree | f275b46d51d4fcc1e8faf8916e7c7f2069858107 /templates | |
parent | 5cddd8a0a3b1b42dd3a92eb4f839679c12ddf97e (diff) | |
download | ikiwiki-e1939185d29e1431861e63d6526cb3a498d6033e.tar ikiwiki-e1939185d29e1431861e63d6526cb3a498d6033e.tar.gz |
ikiwiki-calendar: New command automates creation of archive pages using the calendar plugin.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/calendarmonth.tmpl | 3 | ||||
-rw-r--r-- | templates/calendaryear.tmpl | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/templates/calendarmonth.tmpl b/templates/calendarmonth.tmpl new file mode 100644 index 000000000..37ad78c5c --- /dev/null +++ b/templates/calendarmonth.tmpl @@ -0,0 +1,3 @@ +[[!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]] diff --git a/templates/calendaryear.tmpl b/templates/calendaryear.tmpl new file mode 100644 index 000000000..714bd6d47 --- /dev/null +++ b/templates/calendaryear.tmpl @@ -0,0 +1 @@ +[[!calendar type=year year=<TMPL_VAR YEAR> pages="<TMPL_VAR PAGESPEC>"]] |