diff options
Diffstat (limited to 'layouts/poems')
| -rw-r--r-- | layouts/poems/single.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/layouts/poems/single.html b/layouts/poems/single.html index d61a185..58038d1 100644 --- a/layouts/poems/single.html +++ b/layouts/poems/single.html @@ -1,7 +1,15 @@ {{ define "main" }} -<article class="poem poetry"> - <h1 class="text-title">{{ .Params.caption | default .Title }}</h1> - {{ with .Params.author }}<p class="byline">{{ i18n "by" . }}</p>{{ end }} +<article class="poem poetry" role="document"{{ with .Params.lang}} lang="{{ . }}"{{ end }}> + <header> + <h1 class="text-title"> + {{ .Params.caption | default .Title }} + </h1> + </header> + + <p class="byline"> + {{ partial "post-meta/author.html" . }} + </p> + {{ .Content }} </article> {{ end }} |
