summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-04-29 20:31:16 +0200
committerVolpeon <git@volpeon.ink>2021-04-29 20:31:16 +0200
commitf561409f1cf476e2cc1112538eb7b724748a2378 (patch)
tree814e7e97fdbcc51c3368957078c5a4be022e08a1 /templates
parentFix text contrast on cards (diff)
downloadvolpeon.ink-f561409f1cf476e2cc1112538eb7b724748a2378.tar.gz
volpeon.ink-f561409f1cf476e2cc1112538eb7b724748a2378.tar.bz2
volpeon.ink-f561409f1cf476e2cc1112538eb7b724748a2378.zip
Update
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/categorized_list.html15
-rw-r--r--templates/layouts/page.html8
2 files changed, 19 insertions, 4 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html
index f2eda8b..75c636a 100644
--- a/templates/layouts/categorized_list.html
+++ b/templates/layouts/categorized_list.html
@@ -6,14 +6,21 @@ $body$
6 6
7 $for(pages.by_category)$ 7 $for(pages.by_category)$
8 <h2> 8 <h2>
9 $for(it.value/first)$ 9 <span class="s-body__title-inner">
10 $it.category.name$ 10 $for(it.value/first/first)$
11 $endfor$ 11 $it.category.name$
12 $endfor$
13 </span>
12 </h2> 14 </h2>
13 <ul> 15 <ul>
14 $for(it.value)$ 16 $for(it.value)$
15 <li> 17 <li>
16 <a href="$it.url.rel$">$it.title$</a> 18 <a href="$it.url.rel$">
19 $if(it.category.show_date)$
20 $it.date.yyyy_mm_dd$:
21 $endif$
22 $it.title$
23 </a>
17 </li> 24 </li>
18 $endfor$ 25 $endfor$
19 </ul> 26 </ul>
diff --git a/templates/layouts/page.html b/templates/layouts/page.html
index bccdeae..e985484 100644
--- a/templates/layouts/page.html
+++ b/templates/layouts/page.html
@@ -1,5 +1,13 @@
1<section class="l-section l-section--fullscreen l-section--no-head"> 1<section class="l-section l-section--fullscreen l-section--no-head">
2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-body"> 2 <div class="l-container l-container--pad-x l-container--pad-y l-container--content s-body">
3 $if(category.show_date)$
4 <div class="s-body__meta">
5 <div class="s-body__meta-item">
6 $date.yyyy_mm_dd$
7 </div>
8 </div>
9 $endif$
10
3 <h1><span class="s-body__title-inner">$title$</span></h1> 11 <h1><span class="s-body__title-inner">$title$</span></h1>
4 12
5 $body$ 13 $body$