summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/page.html6
-rw-r--r--templates/partials/gallery_card.html7
-rw-r--r--templates/partials/grid_card.html7
-rw-r--r--templates/partials/list_card.html16
4 files changed, 23 insertions, 13 deletions
diff --git a/templates/layouts/page.html b/templates/layouts/page.html
index c1bd051..b93f45f 100644
--- a/templates/layouts/page.html
+++ b/templates/layouts/page.html
@@ -12,6 +12,12 @@
12 </time> 12 </time>
13 $endif$ 13 $endif$
14 14
15 $if(draft)$
16 <span class="o-badge u-mb-125">
17 Draft
18 </span>
19 $endif$
20
15 <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> 21 <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline">
16 <span class="s-headings__primary">$title$</span> 22 <span class="s-headings__primary">$title$</span>
17 </h1> 23 </h1>
diff --git a/templates/partials/gallery_card.html b/templates/partials/gallery_card.html
index 3020c2d..e319fa4 100644
--- a/templates/partials/gallery_card.html
+++ b/templates/partials/gallery_card.html
@@ -30,13 +30,16 @@ $if(it.thumbnail)$
30 </svg> 30 </svg>
31 $endif$ 31 $endif$
32 <div class="l-media__block l-media__block--main"> 32 <div class="l-media__block l-media__block--main">
33 $if(it.subtitle)$ 33 $if(it.draft)$
34 <strong class="u-d-block">$it.title$</strong>
35 <div><span class="o-badge">Draft</span></div>
36 $elseif(it.subtitle)$
34 <strong class="u-d-block">$it.title$</strong> 37 <strong class="u-d-block">$it.title$</strong>
35 <small class="u-d-block">$it.subtitle$</small> 38 <small class="u-d-block">$it.subtitle$</small>
36 $elseif(it.category)$ 39 $elseif(it.category)$
37 <small class="u-d-block">$it.category$</small> 40 <small class="u-d-block">$it.category$</small>
38 <strong class="u-d-block">$it.title$</strong> 41 <strong class="u-d-block">$it.title$</strong>
39 $elseif(it.last_update)$ 42 $elseif(it.show_date)$
40 <small class="u-d-block"> 43 <small class="u-d-block">
41 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 44 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
42 $it.last_update.long$ 45 $it.last_update.long$
diff --git a/templates/partials/grid_card.html b/templates/partials/grid_card.html
index abcd923..8b65320 100644
--- a/templates/partials/grid_card.html
+++ b/templates/partials/grid_card.html
@@ -17,13 +17,16 @@ $if(it.url)$
17 </svg> 17 </svg>
18 $endif$ 18 $endif$
19 <div class="l-media__block l-media__block--main"> 19 <div class="l-media__block l-media__block--main">
20 $if(it.subtitle)$ 20 $if(it.draft)$
21 <strong class="u-d-block">$it.title$</strong>
22 <div><span class="o-badge">Draft</span></div>
23 $elseif(it.subtitle)$
21 <strong class="u-d-block">$it.title$</strong> 24 <strong class="u-d-block">$it.title$</strong>
22 <small class="u-d-block">$it.subtitle$</small> 25 <small class="u-d-block">$it.subtitle$</small>
23 $elseif(it.category)$ 26 $elseif(it.category)$
24 <small class="u-d-block">$it.category$</small> 27 <small class="u-d-block">$it.category$</small>
25 <strong class="u-d-block">$it.title$</strong> 28 <strong class="u-d-block">$it.title$</strong>
26 $elseif(it.last_update)$ 29 $elseif(it.show_date)$
27 <small class="u-d-block"> 30 <small class="u-d-block">
28 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 31 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
29 $it.last_update.long$ 32 $it.last_update.long$
diff --git a/templates/partials/list_card.html b/templates/partials/list_card.html
index 755686f..0695eed 100644
--- a/templates/partials/list_card.html
+++ b/templates/partials/list_card.html
@@ -36,16 +36,14 @@ $if(it.url)$
36 </div> 36 </div>
37 <div class="l-media__block l-media__block--main u-d-none@sm-lo"> 37 <div class="l-media__block l-media__block--main u-d-none@sm-lo">
38 $it.title$ 38 $it.title$
39 </div> 39 </div>
40 $if(it.subtitle)$ 40 $if(it.draft)$
41 <small class="l-media__block u-d-none@sm-lo"> 41 <div class="l-media__block u-d-none@sm-lo"><span class="o-badge">Draft</span></div>
42 $it.subtitle$ 42 $elseif(it.subtitle)$
43 </small> 43 <small class="l-media__block u-d-none@sm-lo">$it.subtitle$</small>
44 $elseif(it.category)$ 44 $elseif(it.category)$
45 <small class="l-media__block u-d-none@sm-lo"> 45 <small class="l-media__block u-d-none@sm-lo">$it.category$</small>
46 $it.category$ 46 $elseif(it.show_date)$
47 </small>
48 $elseif(it.last_update)$
49 <small class="l-media__block u-d-none@sm-lo"> 47 <small class="l-media__block u-d-none@sm-lo">
50 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated"> 48 <time datetime="$it.last_update.yyyy_mm_dd$" itemprop="dateCreated">
51 $it.last_update.short$ 49 $it.last_update.short$