summaryrefslogtreecommitdiffstats
path: root/templates/layouts/page.html
blob: 554ba458f5aa9e06dc07395b634d6882c4530eb4 (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
<main itemprop="hasPart" itemscope itemtype="https://schema.org/$schema_type$" itemid="$url.full$">
    <article class="l-container l-container--pad-x l-container--pad-y l-container--narrow 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="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>