list, index : show post authors
This commit is contained in:
parent
ea129c608d
commit
fff89a4e30
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue