layouts/_default/index.html: use post-meta partial here too
This commit is contained in:
parent
c0a6202435
commit
d184493a0e
1 changed files with 2 additions and 11 deletions
|
@ -20,16 +20,7 @@
|
||||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<div class="post-meta">
|
{{ partial "post-meta.html" . }}
|
||||||
{{- if .Date -}}
|
|
||||||
<time class="post-date">
|
|
||||||
{{- partial "post-date" . -}}
|
|
||||||
</time>
|
|
||||||
{{- end -}}
|
|
||||||
{{- with .Params.Author -}}
|
|
||||||
<span class="post-author">{{ . }}</span>
|
|
||||||
{{- end -}}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ if .Params.tags }}
|
{{ if .Params.tags }}
|
||||||
<span class="post-tags">
|
<span class="post-tags">
|
||||||
|
|
Loading…
Reference in a new issue