diff options
author | Volpeon <git@volpeon.ink> | 2022-08-04 12:08:04 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-08-04 12:08:04 +0200 |
commit | c2ddbce74e8ae0f2f688497715e2382704ae7300 (patch) | |
tree | 24d9ddaa24f1efa46192c246d04cd7f25fcd8c46 /templates/layouts | |
parent | Made parent page accessible; more flexible main menu by using patterns insted... (diff) | |
download | volpeon.ink-c2ddbce74e8ae0f2f688497715e2382704ae7300.tar.gz volpeon.ink-c2ddbce74e8ae0f2f688497715e2382704ae7300.tar.bz2 volpeon.ink-c2ddbce74e8ae0f2f688497715e2382704ae7300.zip |
Show page date depending on list layout
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/page.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 234e50e..f26c4bc 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
@@ -6,11 +6,12 @@ | |||
6 | itemid="$url.full$" | 6 | itemid="$url.full$" |
7 | > | 7 | > |
8 | <article class="h-entry"> | 8 | <article class="h-entry"> |
9 | 9 | $if(show_date)$ | |
10 | $if(last_update)$ | 10 | $if(last_update)$ |
11 | <time datetime="$last_update.yyyy_mm_dd$" class="o-badge u-mb-125 dt-updated" itemprop="dateModified"> | 11 | <time datetime="$last_update.yyyy_mm_dd$" class="o-badge u-mb-125 dt-updated" itemprop="dateModified"> |
12 | $last_update.long$ | 12 | $last_update.long$ |
13 | </time> | 13 | </time> |
14 | $endif$ | ||
14 | $endif$ | 15 | $endif$ |
15 | 16 | ||
16 | $if(draft)$ | 17 | $if(draft)$ |