diff options
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/categorized_list.html | 10 | ||||
-rw-r--r-- | templates/layouts/page.html | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index 7f94ff4..8217fd9 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
@@ -3,12 +3,10 @@ | |||
3 | <h1 class="o-heading o-heading--xxl u-mt-0"><span class="o-heading__primary">$title$</span></h1> | 3 | <h1 class="o-heading o-heading--xxl u-mt-0"><span class="o-heading__primary">$title$</span></h1> |
4 | 4 | ||
5 | $body$ | 5 | $body$ |
6 | |||
7 | </header> | 6 | </header> |
8 | 7 | ||
9 | $if(notoc)$$else$ | 8 | $if(notoc)$$else$ |
10 | <nav class="c-hnav s-invisible-links"> | 9 | <nav class="c-hnav s-invisible-links"> |
11 | $-- <h2 class="u-mt-0">Sections:</h2> | ||
12 | $for(list)$ | 10 | $for(list)$ |
13 | <small><a href="#$it.slug$">$it.title$</a></small> | 11 | <small><a href="#$it.slug$">$it.title$</a></small> |
14 | $endfor$ | 12 | $endfor$ |
@@ -18,9 +16,9 @@ $body$ | |||
18 | <div class="l-card-list"> | 16 | <div class="l-card-list"> |
19 | $for(list)$ | 17 | $for(list)$ |
20 | <section> | 18 | <section> |
21 | <div class="l-media l-media--flush"> | 19 | <header class="l-card-list__header l-media l-media--flush"> |
22 | <div class="l-media__block l-media__block--main"> | 20 | <div class="l-media__block l-media__block--main"> |
23 | <h2 class="s-invisible-links" id="$it.slug$"> | 21 | <h2 class="s-invisible-links u-mt-0" id="$it.slug$"> |
24 | <a href="$it.url.rel$">$it.title$</a> | 22 | <a href="$it.url.rel$">$it.title$</a> |
25 | </h2> | 23 | </h2> |
26 | </div> | 24 | </div> |
@@ -29,13 +27,15 @@ $body$ | |||
29 | $it.omitted$ more items <span class="u-ml-10">→</span> | 27 | $it.omitted$ more items <span class="u-ml-10">→</span> |
30 | </a> | 28 | </a> |
31 | $endif$ | 29 | $endif$ |
32 | </div> | 30 | </header> |
33 | $if(it.description)$ | 31 | $if(it.description)$ |
34 | <div class="s-small s-colored-links">$it.description$</div> | 32 | <div class="s-small s-colored-links">$it.description$</div> |
35 | $endif$ | 33 | $endif$ |
36 | <div class="l-card-list__cards l-card-list__cards--$it.layout.id$"> | 34 | <div class="l-card-list__cards l-card-list__cards--$it.layout.id$"> |
37 | $if(it.layout.is_grid)$ | 35 | $if(it.layout.is_grid)$ |
38 | $it.items:partials/grid_card()$ | 36 | $it.items:partials/grid_card()$ |
37 | $elseif(it.layout.is_small-gallery)$ | ||
38 | $it.items:partials/small_gallery_card()$ | ||
39 | $elseif(it.layout.is_gallery)$ | 39 | $elseif(it.layout.is_gallery)$ |
40 | $it.items:partials/gallery_card()$ | 40 | $it.items:partials/gallery_card()$ |
41 | $else$ | 41 | $else$ |
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 324a01c..1037938 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <article class="l-container l-container--pad-x l-container--pad-y l-container--narrow s-body s-colored-links s-headings s-blockquotes s-code $if(intro)$s-intro$endif$"> | 1 | <article class="l-container l-container--pad-x l-container--pad-y l-container--narrow s-body s-colored-links s-headings s-blockquotes s-code s-lists $if(intro)$s-intro$endif$"> |
2 | $if(date)$ | 2 | $if(date)$ |
3 | <div class="o-badge s-body__meta u-mb-125"> | 3 | <div class="o-badge s-body__meta u-mb-125"> |
4 | $date.long$ | 4 | $date.long$ |