diff options
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 90bb5b5..6b2c851 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,6 +1,17 @@ {{ define "main" }} -<article class="post"> - <h1 class="text-title">{{ .Params.caption | default .Title }}</h1> - {{ .Content }} +<article class="post" role="document"{{ with .Params.lang}} lang="{{ . }}"{{ end }}> + <header> + <h1 class="text-title"> + {{ .Params.caption | default .Title }} + </h1> + </header> + + <p class="byline"> + {{ partial "post-meta/date.html" . }} + </p> + + <div class="post-body"> + {{ .Content }} + </div> </article> {{ end }} |
