Merge pull request #173 from MarekPikula/hide-vr-without-author
Hide vertical rule in single if no author is set
This commit is contained in:
@@ -19,8 +19,10 @@
|
||||
<div class="title mb-5">
|
||||
<h1 class="text-center mb-4">{{ .Title }}</h1>
|
||||
<div class="text-center">
|
||||
{{ .Params.author }}
|
||||
<small>|</small>
|
||||
{{ if .Params.author }}
|
||||
{{ .Params.author }}
|
||||
<small>|</small>
|
||||
{{ end }}
|
||||
{{ .Date.Format (.Site.Params.datesFormat.article | default "Jan 2, 2006") }}
|
||||
|
||||
{{ if or (.Site.Params.singlePages.readTime.enable | default true) (.Params.enableReadingTime) }}
|
||||
|
||||
Reference in New Issue
Block a user