diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/feed_entry.xml | 13 | ||||
| -rw-r--r-- | templates/layouts/exhibit.html | 9 | ||||
| -rw-r--r-- | templates/layouts/page.html | 2 |
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"> |
