mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2026-11-20 18:37:50 +01:00
list, index : show post authors
This commit is contained in:
1 parent
ea129c608d
commit
fff89a4e30
2 files changed
+2
No files matched your search
@@ -34,6 +34,7 @@
|
|||||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||||
{{ if $.Site.Params.ShowReadingTime }} .
|
{{ if $.Site.Params.ShowReadingTime }} .
|
||||||
{{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }}
|
{{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }}
|
||||||
|
{{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
<a class="entry-link" href="{{ .Permalink }}"></a>
|
<a class="entry-link" href="{{ .Permalink }}"></a>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
<time>{{ .Date.Format "January 2, 2006" }}</time>
|
||||||
{{ if $.Site.Params.ShowReadingTime }} .
|
{{ if $.Site.Params.ShowReadingTime }} .
|
||||||
{{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }}
|
{{ .ReadingTime }}{{ $.Site.Params.MinuteReadingTime | default "min read" }}{{ end }}
|
||||||
|
{{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
<a class="entry-link" href="{{ .Permalink }}"></a>
|
<a class="entry-link" href="{{ .Permalink }}"></a>
|
||||||
</article>
|
</article>
|
||||||
|
|||||||
Reference in new issue
Block a user