diff options
| author | Volpeon <git@volpeon.ink> | 2022-07-31 10:00:03 +0200 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2022-07-31 10:00:03 +0200 |
| commit | 20c5ad5a7a737d721cb39b75852a79f20502da74 (patch) | |
| tree | 217a5cf991d73b482f39553ca1908f891b0611d7 /templates/layouts/page.html | |
| parent | Update (diff) | |
| download | volpeon.ink-20c5ad5a7a737d721cb39b75852a79f20502da74.tar.gz volpeon.ink-20c5ad5a7a737d721cb39b75852a79f20502da74.tar.bz2 volpeon.ink-20c5ad5a7a737d721cb39b75852a79f20502da74.zip | |
Simplified "list" list layout code
Diffstat (limited to 'templates/layouts/page.html')
| -rw-r--r-- | templates/layouts/page.html | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 3ba8d54..234e50e 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
| @@ -6,22 +6,15 @@ | |||
| 6 | itemid="$url.full$" | 6 | itemid="$url.full$" |
| 7 | > | 7 | > |
| 8 | <article class="h-entry"> | 8 | <article class="h-entry"> |
| 9 | $if(date)$ | ||
| 10 | <time datetime="$date.yyyy_mm_dd$" class="o-badge u-mb-125 dt-published" itemprop="datePublished"> | ||
| 11 | $date.long$ | ||
| 12 | </time> | ||
| 13 | $endif$ | ||
| 14 | 9 | ||
| 15 | $if(was_updated)$ | 10 | $if(last_update)$ |
| 16 | <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"> |
| 17 | Updated: $last_update.long$ | 12 | $last_update.long$ |
| 18 | </time> | 13 | </time> |
| 19 | $endif$ | 14 | $endif$ |
| 20 | 15 | ||
| 21 | $if(draft)$ | 16 | $if(draft)$ |
| 22 | <span class="o-badge u-mb-125"> | 17 | <span class="o-badge u-mb-125">Draft</span> |
| 23 | Draft | ||
| 24 | </span> | ||
| 25 | $endif$ | 18 | $endif$ |
| 26 | 19 | ||
| 27 | <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> | 20 | <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> |
