layouts/partials/post-meta.html, layouts/_default/single.html, layouts/_default/list.html: use same post meta for post page and list
This commit is contained in:
parent
fa3123d2a6
commit
c0a6202435
3 changed files with 22 additions and 29 deletions
|
@ -10,16 +10,7 @@
|
|||
<h2 class="post-title">
|
||||
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
||||
</h2>
|
||||
<div class="post-meta">
|
||||
{{- if .Date -}}
|
||||
<time class="post-date">
|
||||
{{- partial "post-date" . -}}
|
||||
</time>
|
||||
{{- end -}}
|
||||
{{- with .Params.Author -}}
|
||||
<span class="post-author">{{- . -}}</span>
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{ partial "post-meta.html" . }}
|
||||
|
||||
{{ if .Params.tags }}
|
||||
<span class="post-tags">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue