diff options
author | Volpeon <git@volpeon.ink> | 2022-06-18 15:51:18 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-18 15:51:18 +0200 |
commit | a43ca52aa2d102c7499c7fd8478304a26ea2cd0a (patch) | |
tree | d44afb4720ffdb088a3c8f05f27befb446b195ae /templates/layouts | |
parent | Improved exhibit (diff) | |
download | volpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.tar.gz volpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.tar.bz2 volpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.zip |
Improved Lua filters, improved exhibit pages
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/exhibit.html | 9 | ||||
-rw-r--r-- | templates/layouts/page.html | 2 |
2 files changed, 2 insertions, 9 deletions
diff --git a/templates/layouts/exhibit.html b/templates/layouts/exhibit.html index a7eeec1..cee28f9 100644 --- a/templates/layouts/exhibit.html +++ b/templates/layouts/exhibit.html | |||
@@ -5,7 +5,7 @@ | |||
5 | itemtype="https://schema.org/$schema_type$" | 5 | itemtype="https://schema.org/$schema_type$" |
6 | itemid="$url.full$" | 6 | itemid="$url.full$" |
7 | > | 7 | > |
8 | <section class="c-exhibit js-lightbox"> | 8 | <section class="c-exhibit js-lightbox js-lightbox--standalone"> |
9 | <div class="c-exhibit__content o-lightbox"> | 9 | <div class="c-exhibit__content o-lightbox"> |
10 | <img class="o-lightbox__img" /> | 10 | <img class="o-lightbox__img" /> |
11 | 11 | ||
@@ -52,13 +52,6 @@ | |||
52 | <div class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125 u-pt-400"> | 52 | <div class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125 u-pt-400"> |
53 | <div class="s-body s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody"> | 53 | <div class="s-body s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody"> |
54 | $body$ | 54 | $body$ |
55 | |||
56 | $for(images)$ | ||
57 | <figure class="c-figure js-lightbox__image u-d-none@js"> | ||
58 | <img src="$it.url.rel$" alt="$it.description$" /> | ||
59 | <figcaption>$it.description$</figcaption> | ||
60 | </figure> | ||
61 | $endfor$ | ||
62 | </div> | 55 | </div> |
63 | </div> | 56 | </div> |
64 | </main> | 57 | </main> |
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index 4058748..689d17b 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
@@ -36,7 +36,7 @@ $body$ | |||
36 | $endif$ | 36 | $endif$ |
37 | </article> | 37 | </article> |
38 | 38 | ||
39 | <div class="o-backdrop js-lightbox js-lightbox--closeable u-d-none t-dark"> | 39 | <div class="o-backdrop js-lightbox u-d-none t-dark"> |
40 | <div class="o-lightbox"> | 40 | <div class="o-lightbox"> |
41 | <button class="o-lightbox__close-btn o-action-button o-action-button--quiet o-action-button--round"> | 41 | <button class="o-lightbox__close-btn o-action-button o-action-button--quiet o-action-button--round"> |
42 | <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> | 42 | <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> |