diff options
author | Volpeon <git@volpeon.ink> | 2021-05-16 08:48:48 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-05-16 08:48:48 +0200 |
commit | 670cfcf0bbb5c1651e14a69a6500fd41e9e9efd8 (patch) | |
tree | e9de5261aac6998227503f8d5b14c91e0e6ec37b /templates | |
parent | Use prefers-color-scheme media query (diff) | |
download | volpeon.ink-670cfcf0bbb5c1651e14a69a6500fd41e9e9efd8.tar.gz volpeon.ink-670cfcf0bbb5c1651e14a69a6500fd41e9e9efd8.tar.bz2 volpeon.ink-670cfcf0bbb5c1651e14a69a6500fd41e9e9efd8.zip |
Design adjustments
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layouts/categorized_list.html | 36 | ||||
-rw-r--r-- | templates/layouts/index.html | 2 |
2 files changed, 20 insertions, 18 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index f2dbbc4..1a074e4 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -11,23 +11,25 @@ $body$ | |||
11 | <h2 class="c-post-list__category-header"> | 11 | <h2 class="c-post-list__category-header"> |
12 | $it.name$ | 12 | $it.name$ |
13 | </h2> | 13 | </h2> |
14 | $for(it.pages)$ | 14 | <div class="c-post-list__category-content"> |
15 | <a href="$it.url.rel$" class="c-post-list__post c-card"> | 15 | $for(it.pages)$ |
16 | <div class="c-card__content c-post-list__post-title"> | 16 | <a href="$it.url.rel$" class="c-post-list__post c-card"> |
17 | $it.title$ | 17 | <div class="c-card__content c-post-list__post-title"> |
18 | </div> | 18 | $it.title$ |
19 | $if(it.category.show_date)$ | 19 | </div> |
20 | <time datetime="$it.date.yyyy_mm_dd$" class="c-post-list__post-date c-card__content"> | 20 | $if(it.category.show_date)$ |
21 | <span class="u-dn@sm-hi"> | 21 | <time datetime="$it.date.yyyy_mm_dd$" class="c-post-list__post-date c-card__content"> |
22 | $it.date.short$ | 22 | <span class="u-dn@sm-hi"> |
23 | </span> | 23 | $it.date.short$ |
24 | <span class="u-dn@sm-lo"> | 24 | </span> |
25 | $it.date.long$ | 25 | <span class="u-dn@sm-lo"> |
26 | </span> | 26 | $it.date.long$ |
27 | </time> | 27 | </span> |
28 | $endif$ | 28 | </time> |
29 | </a> | 29 | $endif$ |
30 | $endfor$ | 30 | </a> |
31 | $endfor$ | ||
32 | </div> | ||
31 | $endfor$ | 33 | $endfor$ |
32 | </div> | 34 | </div> |
33 | </div> | 35 | </div> |
diff --git a/templates/layouts/index.html b/templates/layouts/index.html index 814f338..204c31b 100644 --- a/templates/layouts/index.html +++ b/templates/layouts/index.html | |||
@@ -66,7 +66,7 @@ $body$ | |||
66 | 66 | ||
67 | <div class="l-container l-container--pad-x l-container--pad-y l-project-grid"> | 67 | <div class="l-container l-container--pad-x l-container--pad-y l-project-grid"> |
68 | $for(pages.by_id.projects.pages.all)$ | 68 | $for(pages.by_id.projects.pages.all)$ |
69 | <a class="c-project" href="$it.url.rel$"> | 69 | <a class="l-project-grid__project c-project" href="$it.url.rel$"> |
70 | $if(it.preview)$ | 70 | $if(it.preview)$ |
71 | <img class="c-project__picture" src="$it.preview.rel$" /> | 71 | <img class="c-project__picture" src="$it.preview.rel$" /> |
72 | $endif$ | 72 | $endif$ |