summaryrefslogtreecommitdiffstats
path: root/layouts/page
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/page')
-rw-r--r--layouts/page/single.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/page/single.html b/layouts/page/single.html
new file mode 100644
index 0000000..cb2faba
--- /dev/null
+++ b/layouts/page/single.html
@@ -0,0 +1,14 @@
+{{ define "main" }}
+{{- $postType := .Type | lower | singularize -}}
+<article class="{{ partial "post-class.html" . }}" role="document"{{ with .Params.lang }} lang="{{ . }}"{{ end }}>
+ <header>
+ <h1 class="text-title">
+ {{ .Params.caption | default .Title }}
+ </h1>
+ </header>
+
+ <div class="{{ $postType }}-body">
+ {{ .Content }}
+ </div>
+</article>
+{{ end }}