summaryrefslogtreecommitdiffstats
path: root/templates/layouts/page.html
blob: a91d6ad00cf965601a3902c160e15162b30a3927 (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
<main
    class="l-container l-container--pad-x l-container--pad-y l-container--narrow-125"
    itemprop="hasPart"
    itemscope
    itemtype="https://schema.org/$schema_type$"
    itemid="$url.full$"
>
    <article class="h-entry">
        $if(date)$
            <div class="o-badge s-body__meta u-mb-125 dt-updated">
                $date.long$
            </div>
        $endif$

        <h1 class="o-heading o-heading--xxl u-mt-0 p-name" itemprop="name headline">
            <span class="s-headings__primary">$title$</span>
        </h1>

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

        $if(references)$
            <footer class="s-body s-colored-links s-lists">
                <hr />
                
                <h1>References</h1>
                <ul>
                    $for(references)$
                        <li><a href="$it.url$">$it.label$</a></li>
                    $endfor$
                </ul>
            </footer>
        $endif$
    </article>
</main>