diff options
author | Cristian Marquez Russo <cristian04@gmail.com> | 2020-08-27 15:20:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 15:20:49 +0300 |
commit | 8f2f18b34cb3452810a8fe12454694fe2eaf2a14 (patch) | |
tree | d2ed0d4a3a2bd961e023005d7e66b2c3b615384a /layouts/partials | |
parent | a148d6923cb72d0dfe8c974d96fcd95114994be4 (diff) |
Update get-author-name.html (#61)
Changed default to the parameters in Config file for consistency
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/helpers/get-author-name.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/helpers/get-author-name.html b/layouts/partials/helpers/get-author-name.html index 2bcf239..1ad3612 100644 --- a/layouts/partials/helpers/get-author-name.html +++ b/layouts/partials/helpers/get-author-name.html @@ -1,4 +1,4 @@ -{{ $authorName:= "John Doe"}} +{{ $authorName:= .Site.Params.author.name }} {{ if .Site.Data.site.author}} {{ $authorName = .Site.Data.site.author.name }} {{ end}} |