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

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCristian Marquez Russo <cristian04@gmail.com>2020-08-27 15:20:49 +0300
committerGitHub <noreply@github.com>2020-08-27 15:20:49 +0300
commit8f2f18b34cb3452810a8fe12454694fe2eaf2a14 (patch)
treed2ed0d4a3a2bd961e023005d7e66b2c3b615384a /layouts/partials
parenta148d6923cb72d0dfe8c974d96fcd95114994be4 (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.html2
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}}