diff options
| -rw-r--r-- | content/art/index.md | 1 | ||||
| -rw-r--r-- | content/notebook/index.md | 1 | ||||
| -rw-r--r-- | content/projects/index.md | 1 | ||||
| -rw-r--r-- | scripts/metadata_filter.lua | 1 | ||||
| -rw-r--r-- | templates/base.html | 2 | ||||
| -rw-r--r-- | templates/layouts/categorized_list.html | 10 |
6 files changed, 3 insertions, 13 deletions
diff --git a/content/art/index.md b/content/art/index.md index 91cdecf..3280f79 100644 --- a/content/art/index.md +++ b/content/art/index.md | |||
| @@ -5,7 +5,6 @@ list_layout: gallery-2 | |||
| 5 | list_order: date_desc | 5 | list_order: date_desc |
| 6 | list_flatten: true | 6 | list_flatten: true |
| 7 | list_limit: 4 | 7 | list_limit: 4 |
| 8 | list_button: true | ||
| 9 | feed: true | 8 | feed: true |
| 10 | --- | 9 | --- |
| 11 | 10 | ||
diff --git a/content/notebook/index.md b/content/notebook/index.md index a16d522..17283b0 100644 --- a/content/notebook/index.md +++ b/content/notebook/index.md | |||
| @@ -4,7 +4,6 @@ position: 4 | |||
| 4 | list_order: date_desc | 4 | list_order: date_desc |
| 5 | list_flatten: true | 5 | list_flatten: true |
| 6 | list_limit: 4 | 6 | list_limit: 4 |
| 7 | list_button: true | ||
| 8 | feed: true | 7 | feed: true |
| 9 | --- | 8 | --- |
| 10 | 9 | ||
diff --git a/content/projects/index.md b/content/projects/index.md index 9f0b40f..bc7a4e7 100644 --- a/content/projects/index.md +++ b/content/projects/index.md | |||
| @@ -5,7 +5,6 @@ list_layout: grid-2 | |||
| 5 | list_order: date_desc | 5 | list_order: date_desc |
| 6 | list_flatten: true | 6 | list_flatten: true |
| 7 | list_limit: 4 | 7 | list_limit: 4 |
| 8 | list_button: true | ||
| 9 | feed: true | 8 | feed: true |
| 10 | --- | 9 | --- |
| 11 | 10 | ||
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index 03c4a68..07f060c 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua | |||
| @@ -229,7 +229,6 @@ function cat_to_list_cat(cat, allItems) | |||
| 229 | items = items, | 229 | items = items, |
| 230 | total = tostring(#allItems), | 230 | total = tostring(#allItems), |
| 231 | omitted = omitted ~= 0 and tostring(omitted), | 231 | omitted = omitted ~= 0 and tostring(omitted), |
| 232 | button = cat.list_button, | ||
| 233 | } | 232 | } |
| 234 | end | 233 | end |
| 235 | 234 | ||
diff --git a/templates/base.html b/templates/base.html index 4319d43..49355b7 100644 --- a/templates/base.html +++ b/templates/base.html | |||
| @@ -47,7 +47,7 @@ | |||
| 47 | </head> | 47 | </head> |
| 48 | 48 | ||
| 49 | <body> | 49 | <body> |
| 50 | <nav class="c-header"> | 50 | <nav class="c-header" label="Mainmenu"> |
| 51 | <a class="c-header__item c-header__item--icon" href="/" title="$site.title$"> | 51 | <a class="c-header__item c-header__item--icon" href="/" title="$site.title$"> |
| 52 | <svg class="c-header__icon" width="1em" height="1em" aria-label="Logo"> | 52 | <svg class="c-header__icon" width="1em" height="1em" aria-label="Logo"> |
| 53 | <use href="/symbols.svg#logo"></use> | 53 | <use href="/symbols.svg#logo"></use> |
diff --git a/templates/layouts/categorized_list.html b/templates/layouts/categorized_list.html index dc18407..7667615 100644 --- a/templates/layouts/categorized_list.html +++ b/templates/layouts/categorized_list.html | |||
| @@ -6,7 +6,7 @@ $body$ | |||
| 6 | </header> | 6 | </header> |
| 7 | 7 | ||
| 8 | $if(notoc)$$else$ | 8 | $if(notoc)$$else$ |
| 9 | <nav class="c-hnav s-invisible-links"> | 9 | <nav class="c-hnav s-invisible-links" aria-label="Sections"> |
| 10 | <h2 class="u-mt-0">Jump to</h2> | 10 | <h2 class="u-mt-0">Jump to</h2> |
| 11 | $for(list)$ | 11 | $for(list)$ |
| 12 | <a class="c-hnav__item" href="#$it.slug$">$it.title$</a> | 12 | <a class="c-hnav__item" href="#$it.slug$">$it.title$</a> |
| @@ -44,16 +44,10 @@ $body$ | |||
| 44 | </div> | 44 | </div> |
| 45 | $if(it.omitted)$ | 45 | $if(it.omitted)$ |
| 46 | <footer class="l-card-list__footer"> | 46 | <footer class="l-card-list__footer"> |
| 47 | <a class="l-media__block o-badge o-badge--200" href="$it.url.rel$"> | 47 | <a class="l-media__block o-badge o-badge--200" href="$it.url.rel$" aria-label="$it.omitted$ more items in '$it.title$'"> |
| 48 | $it.omitted$ more items <span class="u-ml-10">→</span> | 48 | $it.omitted$ more items <span class="u-ml-10">→</span> |
| 49 | </a> | 49 | </a> |
| 50 | </footer> | 50 | </footer> |
| 51 | $elseif(it.button)$ | ||
| 52 | <footer class="l-card-list__footer"> | ||
| 53 | <a class="l-media__block o-badge o-badge--200" href="$it.url.rel$"> | ||
| 54 | View section <span class="u-ml-10">→</span> | ||
| 55 | </a> | ||
| 56 | </footer> | ||
| 57 | $endif$ | 51 | $endif$ |
| 58 | </section> | 52 | </section> |
| 59 | $endfor$ | 53 | $endfor$ |
