add templates/
[ikiwiki/events.git] / templates / neweventmonth.tmpl
diff --git a/templates/neweventmonth.tmpl b/templates/neweventmonth.tmpl
new file mode 100644 (file)
index 0000000..6a0c027
--- /dev/null
@@ -0,0 +1,15 @@
+[[!meta title="<TMPL_VAR MONTH> - <TMPL_VAR MONTHNAME>"]]
+[[!meta date="<TMPL_VAR YEAR>-<TMPL_VAR MONTH>-01T00:00:00"]]
+# Aperçu du mois
+[[!calendar
+ month="<TMPL_VAR MONTH>"
+ pages="page(Agenda/<TMPL_VAR YEAR>/<TMPL_VAR MONTH>/*/*) and !*/Discussion"
+ type="month"
+ year="<TMPL_VAR YEAR>"
+ week_start_day="1"
+ ]]
+# Évènements du mois
+[[!map
+ pages="page(Agenda/<TMPL_VAR YEAR>/*) and !*/Discussion"
+ show="title"
+ ]]