diff options
Diffstat (limited to 'layouts/dramas/single.html')
| -rw-r--r-- | layouts/dramas/single.html | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/layouts/dramas/single.html b/layouts/dramas/single.html index 865a07b..e47e531 100644 --- a/layouts/dramas/single.html +++ b/layouts/dramas/single.html @@ -1,7 +1,15 @@ {{ define "main" }} -<article class="drama"> - <h1 class="text-title">{{ .Params.caption | default .Title }}</h1> - {{ with .Params.author }}<p class="byline">{{ i18n "by" . }}</p>{{ end }} +<article class="drama" 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 }} |
