summaryrefslogtreecommitdiffstats
path: root/templates/layouts/page.html
blob: 640df1894ca1e492d39428bdf7c6a4fe1b5fdb13 (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
<main class="c-page l-container l-container--content l-container--pad-v">
    <div class="c-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>

        <section class="s-page">
$body$
        </section>
    </div>
</main>