summaryrefslogtreecommitdiffstats
path: root/templates/layouts/page.html
blob: 994d013b0ebb8ab5b15626be834044bc69d75399 (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
<main class="c-page l-container l-container--content l-container--pad-v">
    <div class="c-page__content s-page-content">
        <header class="c-page__header">
            $if(menus.main.active)$
                <div class="c-page__prefixed c-page__prefixed--backref c-page__header__backlink">
                    <a class="c-page__header__backlink__link" href="$menus.main.active.url$">
                        $if(menus.main.active.label_long)$
                            $menus.main.active.label_long$
                        $else$
                            $menus.main.active.label$
                        $endif$
                    </a>
                </div>
            $endif$
            <h1 class="c-page__prefixed c-page__prefixed--h1 c-page__header__title">$title$</h1>
            $if(category)$
                <h2 class="c-page__header__meta">in $category.name$</h2>
            $endif$
        </header>

$body$
    </div>
</main>