Created
August 16, 2021 07:05
-
-
Save introt/24497f9219646c4c49ec70cb0225c6bd to your computer and use it in GitHub Desktop.
Zim wiki journal template re:#1547
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 journal_plugin.page_type == 'day' -%] | |
======= [% strftime("%A %d %b %Y", journal_plugin.date) %] ======= | |
[%- ELSIF journal_plugin.page_type == 'week' -%] | |
======= [% strfcal("Viikko %W %Y", journal_plugin.date) %] ======= | |
[% strftime("%d %B", journal_plugin.date) %] to [% strftime("%d %B", journal_plugin.end_date) %] | |
[% FOREACH day IN journal_plugin.days() %] | |
=== [% strftime("%A %d %B", day) %] === | |
[% END %] | |
[%- ELSIF journal_plugin.page_type == 'month' -%] | |
======= [% strftime("%B %Y", journal_plugin.date) %] ======= | |
[% gettext("Created") %] [% strftime("%Y-%m-%d") %] | |
[% FOREACH day IN journal_plugin.days() %] | |
[% strftime("%Y-%m-%d", day) %] | |
[% END %] | |
[%- ELSIF journal_plugin.page_type == 'year' -%] | |
======= Year [% strftime("%Y", journal_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