summaryrefslogtreecommitdiffstats
path: root/templates/layouts/exhibit.html
blob: 1e0f19cfa4de7e063a4125cf6091347bf948f261 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<main
    class="h-entry"
    itemprop="hasPart"
    itemscope
    itemtype="https://schema.org/$schema_type$"
    itemid="$url.full$"
>
    <section class="c-exhibit js-lightbox js-lightbox--standalone">
        <div class="c-exhibit__content o-lightbox">
            <img class="o-lightbox__img" />
        
            <button class="o-lightbox__prev-btn o-action-button o-action-button--quiet o-action-button--round">
                <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true">
                    <use href="/icons.svg#chevron-left"></use>
                </svg>
            </button>
        
            <button class="o-lightbox__next-btn o-action-button o-action-button--quiet o-action-button--round">
                <svg class="l-media__block o-icon" width="1em" height="1em" aria-hidden="true">
                    <use href="/icons.svg#chevron-right"></use>
                </svg>
            </button>
        
            <footer class="o-lightbox__footer"></footer>
        </div>            

        <footer class="c-exhibit__footer">
            <div class="l-container l-container--pad-x l-container--narrow-125">
                <div class="l-media l-media--200 u-pl-0 u-pr-0">
                    <div class="l-media__block l-media__block--main">
                        $if(date)$
                            <small class="u-d-block u-d-none@sm-hi">
                                <time datetime="$date.yyyy_mm_dd$" class="dt-updated" itemprop="dateCreated">
                                    $date.short$
                                </time>
                            </small>
                        $endif$
                        <strong class="u-d-block u-elp" itemprop="name headline">$title$</strong>
                    </div>
                    $if(date)$
                        <small class="l-media__block u-d-none@sm-lo">
                            <time datetime="$date.yyyy_mm_dd$" itemprop="dateCreated">
                                $date.short$
                            </time>
                        </small>
                    $endif$
                </div>
            </div>
        </footer>
    </section>

    <div class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125 u-pt-0">
        <div class="s-colored-links s-headings s-blockquotes s-code s-lists s-tables s-alerts e-content" itemprop="articleBody">
$body$
        </div>
    </div>
</main>

<script src="/lightbox.js"></script>