summaryrefslogtreecommitdiffstats
path: root/templates/layouts/exhibit.html
blob: 31703056a29554e670faedb5d109d9706f8cae8a (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 o-lightbox js-lightbox js-lightbox--standalone">
        <img class="o-lightbox__img" />
    
        <button class="o-lightbox__nav-btn o-lightbox__nav-btn--prev 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__nav-btn o-lightbox__nav-btn--next 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>
    
        <div class="o-lightbox__thumbnails"></div>         

        <footer class="o-lightbox__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" 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="l-container l-container--narrow u-ml-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>
    </div>
</main>

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