mirror of
https://github.com/panr/hugo-theme-terminal.git
synced 2024-11-28 22:48:44 +03:00
moved ::
decoration position
this hides it if there's no post author to show
This commit is contained in:
parent
9726b8d806
commit
32df60e801
1 changed files with 2 additions and 2 deletions
|
@ -13,11 +13,11 @@
|
||||||
<div class="post-meta">
|
<div class="post-meta">
|
||||||
{{ if .Date }}
|
{{ if .Date }}
|
||||||
<time class="post-date">
|
<time class="post-date">
|
||||||
{{ .Date.Format "2006-01-02" }} ::
|
{{ .Date.Format "2006-01-02" }}
|
||||||
</time>
|
</time>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ with .Params.Author }}
|
{{ with .Params.Author }}
|
||||||
<span class="post-author">{{ . }}</span>
|
:: <span class="post-author">{{ . }}</span>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue