diff options
author | Volpeon <git@volpeon.ink> | 2022-06-18 00:04:21 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-18 00:04:21 +0200 |
commit | 26c099aa807d8e67944f72be04a325f37da305d5 (patch) | |
tree | f7781f003b95979d6a2e1c39d9491c26589ec91a /templates/layouts/page.html | |
parent | Make some page elements wide (diff) | |
download | volpeon.ink-26c099aa807d8e67944f72be04a325f37da305d5.tar.gz volpeon.ink-26c099aa807d8e67944f72be04a325f37da305d5.tar.bz2 volpeon.ink-26c099aa807d8e67944f72be04a325f37da305d5.zip |
Added page type for art pieces
Diffstat (limited to 'templates/layouts/page.html')
-rw-r--r-- | templates/layouts/page.html | 34 |
1 files changed, 31 insertions, 3 deletions
diff --git a/templates/layouts/page.html b/templates/layouts/page.html index f65a1cf..4058748 100644 --- a/templates/layouts/page.html +++ b/templates/layouts/page.html | |||
@@ -1,5 +1,5 @@ | |||
1 | <main | 1 | <main |
2 | class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125" | 2 | class="c-main l-container l-container--pad-x l-container--pad-y l-container--narrow-125" |
3 | itemprop="hasPart" | 3 | itemprop="hasPart" |
4 | itemscope | 4 | itemscope |
5 | itemtype="https://schema.org/$schema_type$" | 5 | itemtype="https://schema.org/$schema_type$" |
@@ -7,9 +7,9 @@ | |||
7 | > | 7 | > |
8 | <article class="h-entry"> | 8 | <article class="h-entry"> |
9 | $if(date)$ | 9 | $if(date)$ |
10 | <div class="o-badge s-body__meta u-mb-125 dt-updated"> | 10 | <time datetime="$date.yyyy_mm_dd$" class="o-badge s-body__meta u-mb-125 dt-updated" itemprop="dateCreated"> |
11 | $date.long$ | 11 | $date.long$ |
12 | </div> | 12 | </time> |
13 | $endif$ | 13 | $endif$ |
14 | 14 | ||
15 | <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> | 15 | <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline"> |
@@ -35,4 +35,32 @@ $body$ | |||
35 | </footer> | 35 | </footer> |
36 | $endif$ | 36 | $endif$ |
37 | </article> | 37 | </article> |
38 | |||
39 | <div class="o-backdrop js-lightbox js-lightbox--closeable u-d-none t-dark"> | ||
40 | <div class="o-lightbox"> | ||
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"> | ||
43 | <use href="/icons.svg#x"></use> | ||
44 | </svg> | ||
45 | </button> | ||
46 | |||
47 | <img class="o-lightbox__img" /> | ||
48 | |||
49 | <button class="o-lightbox__prev-btn o-action-button o-action-button--quiet o-action-button--round"> | ||
50 | <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> | ||
51 | <use href="/icons.svg#chevron-left"></use> | ||
52 | </svg> | ||
53 | </button> | ||
54 | |||
55 | <button class="o-lightbox__next-btn o-action-button o-action-button--quiet o-action-button--round"> | ||
56 | <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true"> | ||
57 | <use href="/icons.svg#chevron-right"></use> | ||
58 | </svg> | ||
59 | </button> | ||
60 | |||
61 | <footer class="o-lightbox__footer"></footer> | ||
62 | </div> | ||
63 | </div> | ||
38 | </main> | 64 | </main> |
65 | |||
66 | <script src="/lightbox.js"></script> | ||