Blame view
templates/wiki/Journal.txt
772 Bytes
a65220bcc Jeu de templates zim |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
[% IF calendar_plugin.page_type == 'day' -%] ======= [% strftime("%A %d %b %Y", calendar_plugin.date) %] ======= [%- ELSIF calendar_plugin.page_type == 'week' -%] ======= [% strfcal("Week %W %Y", calendar_plugin.date) %] ======= [% strftime("%d %B", calendar_plugin.date) %] to [% strftime("%d %B", calendar_plugin.end_date) %] [% FOREACH day IN calendar_plugin.days() %] === [% strftime("%A %d %B", day) %] === [% END %] [%- ELSIF calendar_plugin.page_type == 'month' -%] ======= [% strftime("%B %Y", calendar_plugin.date) %] ======= [%- ELSIF calendar_plugin.page_type == 'year' -%] ======= Year [% strftime("%Y", calendar_plugin.date) %] ======= [%- ELSE -%] ======= [% page.basename %] ======= [% gettext("Created") %] [% strftime("%A %d %B %Y") %] [%- END %] |