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.
|
@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 -}}
|
{{- with .authors -}}
|
||||||
</p>
|
</p>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -19,5 +20,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
<a class="p-author" itemprop="author" rel="author" href="{{ $.sc.Site.Home.Permalink }}">{{ $.sc.Site.Params.Author.name }}</a>
|
<a class="p-author" itemprop="author" rel="author" href="{{ $.sc.Site.Home.Permalink }}">{{ $.sc.Site.Params.Author.name }}</a>
|
||||||
{{- end -}}
|
|
||||||
</p>
|
</p>
|
||||||
|
{{- end -}}
|
||||||
|
</span>
|
||||||
|
|
Loading…
Add table
Reference in a new issue