diff options
author | Volpeon <git@volpeon.ink> | 2022-07-30 08:08:15 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-07-30 08:08:15 +0200 |
commit | 69f764fd41cb833164ddb07c31fd835d70215f1f (patch) | |
tree | 4414e657fcd830d16fa2705e937f34d30039854f /templates/layouts/page.html | |
parent | Update (diff) | |
download | volpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.tar.gz volpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.tar.bz2 volpeon.ink-69f764fd41cb833164ddb07c31fd835d70215f1f.zip |
Semantic fixes, show last update before title
Diffstat (limited to 'templates/layouts/page.html')
-rw-r--r-- | templates/layouts/page.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index b93f45f..3ba8d54 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
@@ -7,11 +7,17 @@ | |||
7 | > | 7 | > |
8 | <article class="h-entry"> | 8 | <article class="h-entry"> |
9 | $if(date)$ | 9 | $if(date)$ |
10 | <time datetime="$date.yyyy_mm_dd$" class="o-badge u-mb-125 dt-updated" itemprop="dateCreated"> | 10 | <time datetime="$date.yyyy_mm_dd$" class="o-badge u-mb-125 dt-published" itemprop="datePublished"> |
11 | $date.long$ | 11 | $date.long$ |
12 | </time> | 12 | </time> |
13 | $endif$ | 13 | $endif$ |
14 | 14 | ||
15 | $if(was_updated)$ | ||
16 | <time datetime="$last_update.yyyy_mm_dd$" class="o-badge u-mb-125 dt-updated" itemprop="dateModified"> | ||
17 | Updated: $last_update.long$ | ||
18 | </time> | ||
19 | $endif$ | ||
20 | |||
15 | $if(draft)$ | 21 | $if(draft)$ |
16 | <span class="o-badge u-mb-125"> | 22 | <span class="o-badge u-mb-125"> |
17 | Draft | 23 | Draft |