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