summaryrefslogtreecommitdiffstats
path: root/templates/layouts/page.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/layouts/page.html')
-rw-r--r--templates/layouts/page.html32
1 files changed, 22 insertions, 10 deletions
diff --git a/templates/layouts/page.html b/templates/layouts/page.html
index 332a846..ee1a816 100644
--- a/templates/layouts/page.html
+++ b/templates/layouts/page.html
@@ -1,12 +1,24 @@
1<header class="c-page__header"> 1<main class="c-page l-container l-container--content l-container--pad-v">
2 <h1 class="c-page__prefixed c-page__prefixed--h1 c-page__header__title">$title$</h1> 2 <div class="c-page__content">
3 $if(date)$ 3 <header class="c-page__header">
4 <h2 class="c-page__header__meta">$date.yyyy_mm_dd$$if(category)$ in $category.name$$endif$</h2> 4 $if(menus.main.active)$
5 $elseif(category)$ 5 <div class="c-page__prefixed c-page__prefixed--backref c-page__header__backlink">
6 <h2 class="c-page__header__meta">in $category.name$</h2> 6 <a class="c-page__header__backlink__link" href="$menus.main.active.url$">
7 $endif$ 7 $menus.main.active.label$
8</header> 8 </a>
9 </div>
10 $endif$
11 <h1 class="c-page__prefixed c-page__prefixed--h1 c-page__header__title">$title$</h1>
12 $if(date)$
13 <h2 class="c-page__header__meta">$date.yyyy_mm_dd$$if(category)$ in $category.name$$endif$</h2>
14 $elseif(category)$
15 <h2 class="c-page__header__meta">in $category.name$</h2>
16 $endif$
17 </header>
9 18
10<section> 19 <section class="s-page">
11$body$ 20$body$
12</section> 21 </section>
22 </div>
23</main>
24