summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-18 15:51:18 +0200
committerVolpeon <git@volpeon.ink>2022-06-18 15:51:18 +0200
commita43ca52aa2d102c7499c7fd8478304a26ea2cd0a (patch)
treed44afb4720ffdb088a3c8f05f27befb446b195ae /templates
parentImproved exhibit (diff)
downloadvolpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.tar.gz
volpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.tar.bz2
volpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.zip
Improved Lua filters, improved exhibit pages
Diffstat (limited to 'templates')
-rw-r--r--templates/feed_entry.xml13
-rw-r--r--templates/layouts/exhibit.html9
-rw-r--r--templates/layouts/page.html2
3 files changed, 3 insertions, 21 deletions
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml
index f0a7f1e..03d6569 100644
--- a/templates/feed_entry.xml
+++ b/templates/feed_entry.xml
@@ -22,15 +22,4 @@ $else$
22 </author> 22 </author>
23 $endfor$ 23 $endfor$
24$endif$ 24$endif$
25<content type="html"><![CDATA[ 25<content type="html"><![CDATA[$it.content$]]></content>
26 $it.content$
27
28 $if(it.layout.is_exhibit)$
29 $for(it.images)$
30 <figure>
31 <img src="$it.url.full$" alt="$it.description$" />
32 <figcaption>$it.description$</figcaption>
33 </figure>
34 $endfor$
35 $endif$
36]]></content>
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">