summaryrefslogtreecommitdiffstats
path: root/layouts/page/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/page/single.html')
-rw-r--r--layouts/page/single.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/layouts/page/single.html b/layouts/page/single.html
index d31cbe7..fef0cf5 100644
--- a/layouts/page/single.html
+++ b/layouts/page/single.html
@@ -1,7 +1,11 @@
{{ define "main" }}
-<article class="page" id="page-{{ .File.TranslationBaseName | lower }}">
- <h1 class="page-title">{{ .Params.caption | default .Title }}</h1>
+<article class="page" role="document" id="page-{{ .File.TranslationBaseName | lower }}"{{ with .Params.lang}} lang="{{ . }}"{{ end }}>
+ <header>
+ <h1 class="page-title">
+ {{ .Params.caption | default .Title }}
+ </h1>
+ </header>
+
{{ .Content }}
</article>
{{ end }}
-