Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/halogenica/beautifulhugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Romero <michael.robert.romero@gmail.com>2019-09-05 10:10:10 +0300
committerMichael Romero <michael.robert.romero@gmail.com>2019-09-05 10:10:10 +0300
commit20609b681b4b47c63341bd3d947e60dbf3677b24 (patch)
tree81cc4ed9f13ee7581c6a0d537c9fa0a909ebb92e /layouts
parent3f32f6fde6e7c33a50d3abc35a294eea96de5b9b (diff)
Change "showAuthor" to "hideAuthor", since show is the default behavior
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/post_meta.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html
index 70f52ba..a449767 100644
--- a/layouts/partials/post_meta.html
+++ b/layouts/partials/post_meta.html
@@ -11,7 +11,7 @@
{{ if .Site.Params.wordCount }}
&nbsp;|&nbsp;<i class="fas fa-book"></i>&nbsp;{{ .WordCount }}&nbsp;{{ i18n "words" }}
{{ end }}
- {{ if .Site.Params.showAuthor }}
+ {{ if not .Site.Params.hideAuthor }}
{{ if .Params.author }}
&nbsp;|&nbsp;<i class="fas fa-user"></i>&nbsp;{{ .Params.author | safeHTML }}
{{ else }}