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:
Guru Sabarish
2024-06-15 19:54:41 +05:30
committed by GitHub
+4 -2
View File
@@ -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) }}