Use site instead of .Site

This commit is contained in:
Will Faught
2023-01-29 10:45:03 -08:00
parent a6667e6c41
commit 548af63634
9 changed files with 58 additions and 58 deletions

View File

@@ -16,10 +16,10 @@
{{ end }}
{{ $result = delimit $names ", " }}
{{ else if .Site.Params.authors }}
{{ else if site.Params.authors }}
{{ $names := slice }}
{{ range $k, $v := .Site.Params.authors }}
{{ range $k, $v := site.Params.authors }}
{{ if eq $v.default true }}
{{ $names = $names | append $v.name }}
{{ end }}