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">
|
<div class="title mb-5">
|
||||||
<h1 class="text-center mb-4">{{ .Title }}</h1>
|
<h1 class="text-center mb-4">{{ .Title }}</h1>
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
{{ .Params.author }}
|
{{ if .Params.author }}
|
||||||
<small>|</small>
|
{{ .Params.author }}
|
||||||
|
<small>|</small>
|
||||||
|
{{ end }}
|
||||||
{{ .Date.Format (.Site.Params.datesFormat.article | default "Jan 2, 2006") }}
|
{{ .Date.Format (.Site.Params.datesFormat.article | default "Jan 2, 2006") }}
|
||||||
|
|
||||||
{{ if or (.Site.Params.singlePages.readTime.enable | default true) (.Params.enableReadingTime) }}
|
{{ if or (.Site.Params.singlePages.readTime.enable | default true) (.Params.enableReadingTime) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user