Update get-author-name.html (#61)
Changed default to the parameters in Config file for consistency
This commit is contained in:
committed by
GitHub
parent
a148d6923c
commit
8f2f18b34c
@@ -1,4 +1,4 @@
|
||||
{{ $authorName:= "John Doe"}}
|
||||
{{ $authorName:= .Site.Params.author.name }}
|
||||
{{ if .Site.Data.site.author}}
|
||||
{{ $authorName = .Site.Data.site.author.name }}
|
||||
{{ end}}
|
||||
|
||||
Reference in New Issue
Block a user