Fix bug in author params code, reported in issue #117.
This commit is contained in:
parent
9650adeb51
commit
a1e9b05dcc
1 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@
|
|||
{{ with $.Param "image" -}}
|
||||
"image" : {{ . | absURL }},
|
||||
{{ end -}}
|
||||
{{ with $.Param "author" -}}
|
||||
{{ with .Params.author | default site.Params.author.name -}}
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": {{ . }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue