Update get-author-name.html (#61)
Changed default to the parameters in Config file for consistency
This commit is contained in:
parent
a148d6923c
commit
8f2f18b34c
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{{ $authorName:= "John Doe"}}
|
{{ $authorName:= .Site.Params.author.name }}
|
||||||
{{ if .Site.Data.site.author}}
|
{{ if .Site.Data.site.author}}
|
||||||
{{ $authorName = .Site.Data.site.author.name }}
|
{{ $authorName = .Site.Data.site.author.name }}
|
||||||
{{ end}}
|
{{ end}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue