aboutsummaryrefslogtreecommitdiff
path: root/themes/ananke/layouts/page
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2019-06-19 21:18:55 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2019-06-19 21:18:55 +0200
commit615d2211463e073a65b0de60c61ab1184b14b958 (patch)
treea7635aec59a689152061c00e8a462382112792f4 /themes/ananke/layouts/page
parent2a2311ea3fb1b89a266668bfd16aa96475fc183e (diff)
downloadwebsite-615d2211463e073a65b0de60c61ab1184b14b958.tar.gz
website-615d2211463e073a65b0de60c61ab1184b14b958.zip
theme: Switch to ananke theme
Diffstat (limited to 'themes/ananke/layouts/page')
-rw-r--r--themes/ananke/layouts/page/single.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/themes/ananke/layouts/page/single.html b/themes/ananke/layouts/page/single.html
new file mode 100644
index 0000000..ac9d199
--- /dev/null
+++ b/themes/ananke/layouts/page/single.html
@@ -0,0 +1,18 @@
+{{ define "header" }}{{ partial "page-header.html" . }}{{ end }}
+{{ define "main" }}
+ <div class="flex-l mt2 mw8 center">
+ <article class="center cf pv5 ph3 ph4-ns mw7">
+ <header>
+ <p class="f6 b helvetica tracked">
+ {{ humanize .Section | upper }}
+ </p>
+ <h1 class="f1">
+ {{ .Title }}
+ </h1>
+ </header>
+ <div class="nested-copy-line-height lh-copy f4 nested-links nested-img mid-gray">
+ {{ .Content }}
+ </div>
+ </article>
+ </div>
+{{ end }}