Add itemprop author so author is detected in browsers reader view.
This commit is contained in:
parent
19887185c7
commit
64220eae06
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue