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.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/layouts/page.html b/templates/layouts/page.html
new file mode 100644
index 0000000..332a846
--- /dev/null
+++ b/templates/layouts/page.html
@@ -0,0 +1,12 @@
1<header class="c-page__header">
2 <h1 class="c-page__prefixed c-page__prefixed--h1 c-page__header__title">$title$</h1>
3 $if(date)$
4 <h2 class="c-page__header__meta">$date.yyyy_mm_dd$$if(category)$ in $category.name$$endif$</h2>
5 $elseif(category)$
6 <h2 class="c-page__header__meta">in $category.name$</h2>
7 $endif$
8</header>
9
10<section>
11$body$
12</section>