diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layouts/page.html | 8 | ||||
-rw-r--r-- | templates/partials/gallery_card.html | 13 | ||||
-rw-r--r-- | templates/partials/grid_card.html | 8 | ||||
-rw-r--r-- | templates/partials/list_card.html | 6 |
4 files changed, 18 insertions, 17 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 |
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html index f040952..ca1fdd6 100644 --- a/templates/partials/gallery_card.html +++ b/templates/partials/gallery_card.html | |||
@@ -28,32 +28,27 @@ $if(it.thumbnail)$ | |||
28 | <use href="$assets.icons_svg$#$it.icon$"></use> | 28 | <use href="$assets.icons_svg$#$it.icon$"></use> |
29 | </svg> | 29 | </svg> |
30 | $endif$ | 30 | $endif$ |
31 | $if(it.draft)$ | ||
32 | <div class="l-media__block"> | ||
33 | <span class="o-badge">Draft</span> | ||
34 | </div> | ||
35 | $endif$ | ||
36 | <div class="l-media__block l-media__block--main"> | 31 | <div class="l-media__block l-media__block--main"> |
37 | $if(it.subtitle)$ | 32 | $if(it.subtitle)$ |
38 | <div> | 33 | <div> |
39 | <strong>$it.title$</strong> | 34 | <strong class="p-name" itemprop="name headline">$it.title$</strong> |
40 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 35 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
41 | </div> | 36 | </div> |
42 | <small class="u-d-block">$it.subtitle$</small> | 37 | <small class="u-d-block">$it.subtitle$</small> |
43 | $elseif(it.category)$ | 38 | $elseif(it.category)$ |
44 | <small class="u-d-block">$it.category$</small> | 39 | <small class="u-d-block">$it.category$</small> |
45 | <div> | 40 | <div> |
46 | <strong>$it.title$</strong> | 41 | <strong class="p-name" itemprop="name headline">$it.title$</strong> |
47 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 42 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
48 | </div> | 43 | </div> |
49 | $elseif(it.show_date)$ | 44 | $elseif(it.show_date)$ |
50 | <small class="u-d-block"> | 45 | <small class="u-d-block"> |
51 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> | 46 | <time datetime="$it.last_update.yyyy_mm_dd$" class="dt-updated" itemprop="dateModified"> |
52 | $it.last_update.long$ | 47 | $it.last_update.long$ |
53 | </time> | 48 | </time> |
54 | </small> | 49 | </small> |
55 | <div> | 50 | <div> |
56 | <strong>$it.title$</strong> | 51 | <strong class="p-name" itemprop="name headline">$it.title$</strong> |
57 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 52 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
58 | </div> | 53 | </div> |
59 | $else$ | 54 | $else$ |
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html index ab6dbbc..fdd19f2 100644 --- a/templates/partials/grid_card.html +++ b/templates/partials/grid_card.html | |||
@@ -18,24 +18,24 @@ | |||
18 | <div class="l-media__block l-media__block--main"> | 18 | <div class="l-media__block l-media__block--main"> |
19 | $if(it.subtitle)$ | 19 | $if(it.subtitle)$ |
20 | <div> | 20 | <div> |
21 | <strong>$it.title$</strong> | 21 | <strong class="p-name" itemprop="name headline">$it.title$</strong> |
22 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 22 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
23 | </div> | 23 | </div> |
24 | <small class="u-d-block">$it.subtitle$</small> | 24 | <small class="u-d-block">$it.subtitle$</small> |
25 | $elseif(it.category)$ | 25 | $elseif(it.category)$ |
26 | <small class="u-d-block">$it.category$</small> | 26 | <small class="u-d-block">$it.category$</small> |
27 | <div> | 27 | <div> |
28 | <strong>$it.title$</strong> | 28 | <strong class="p-name" itemprop="name headline">$it.title$</strong> |
29 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 29 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
30 | </div> | 30 | </div> |
31 | $elseif(it.show_date)$ | 31 | $elseif(it.show_date)$ |
32 | <small class="u-d-block"> | 32 | <small class="u-d-block"> |
33 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> | 33 | <time datetime="$it.last_update.yyyy_mm_dd$" class="dt-updated" itemprop="dateModified"> |
34 | $it.last_update.long$ | 34 | $it.last_update.long$ |
35 | </time> | 35 | </time> |
36 | </small> | 36 | </small> |
37 | <div> | 37 | <div> |
38 | <strong>$it.title$</strong> | 38 | <strong class="p-name" itemprop="name headline">$it.title$</strong> |
39 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 39 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
40 | </div> | 40 | </div> |
41 | $else$ | 41 | $else$ |
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html index a89193a..4eed174 100644 --- a/templates/partials/list_card.html +++ b/templates/partials/list_card.html | |||
@@ -37,14 +37,14 @@ | |||
37 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 37 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
38 | </div> | 38 | </div> |
39 | $else$ | 39 | $else$ |
40 | <span class="p-name" itemprop="name headline"> | 40 | <span> |
41 | $it.title$ | 41 | $it.title$ |
42 | </span> | 42 | </span> |
43 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 43 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
44 | $endif$ | 44 | $endif$ |
45 | </div> | 45 | </div> |
46 | <div class="l-media__block l-media__block--main u-d-none@sm-lo"> | 46 | <div class="l-media__block l-media__block--main u-d-none@sm-lo"> |
47 | $it.title$ | 47 | <span class="p-name" itemprop="name headline">$it.title$</span> |
48 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ | 48 | $if(it.draft)$<span class="o-badge u-ml-100">Draft</span>$endif$ |
49 | </div> | 49 | </div> |
50 | $if(it.subtitle)$ | 50 | $if(it.subtitle)$ |
@@ -53,7 +53,7 @@ | |||
53 | <small class="l-media__block u-d-none@sm-lo">$it.category$</small> | 53 | <small class="l-media__block u-d-none@sm-lo">$it.category$</small> |
54 | $elseif(it.show_date)$ | 54 | $elseif(it.show_date)$ |
55 | <small class="l-media__block u-d-none@sm-lo"> | 55 | <small class="l-media__block u-d-none@sm-lo"> |
56 | <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> | 56 | <time datetime="$it.last_update.yyyy_mm_dd$" class="dt-updated" itemprop="dateModified"> |
57 | $it.last_update.short$ | 57 | $it.last_update.short$ |
58 | </time> | 58 | </time> |
59 | </small> | 59 | </small> |