Created
July 18, 2020 18:22
-
-
Save Atlas48/1e36b4081b41c8808b295a656680d791 to your computer and use it in GitHub Desktop.
Zim Wiki Default Templates
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======= [% page.basename %] ======= | |
[% gettext("Created") %] [% strftime("%A %d %B %Y") %] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[% 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 %] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment