fix: authors
This commit is contained in:
parent
ee740bad7a
commit
4cd64207fe
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,8 @@
|
|||
@params sc The site context.
|
||||
*/ -}}
|
||||
|
||||
<p style="display: none">Author{{ with .authors }}s{{ end }}:
|
||||
<span style="display: none">
|
||||
<p>Author{{ with .authors }}s{{ end }}:
|
||||
{{- with .authors -}}
|
||||
</p>
|
||||
<ul>
|
||||
|
@ -19,5 +20,6 @@
|
|||
</ul>
|
||||
{{- else -}}
|
||||
<a class="p-author" itemprop="author" rel="author" href="{{ $.sc.Site.Home.Permalink }}">{{ $.sc.Site.Params.Author.name }}</a>
|
||||
</p>
|
||||
{{- end -}}
|
||||
</p>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Reference in a new issue