Add itemprop author so author is detected in browsers reader view.

This commit is contained in:
Fredrik Jonsson 2019-06-29 00:27:26 +02:00
commit 64220eae06

View file

@ -1,4 +1,4 @@
<p class="submitted">
{{ with $.Param "author" }}<span class="author">{{ . }}</span> – {{ end -}}
{{ with $.Param "author" }}<span class="author" itemprop="author">{{ . }}</span> – {{ end -}}
<time class="modified-date" datetime="{{ .Lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format ($.Param "dateformat" | default "2 January, 2006") }}</time>
</p>