Change if statement to with

This commit is contained in:
Will Faught
2023-09-23 14:25:27 -07:00
parent 024a8df249
commit 1d522dac05

View File

@@ -75,7 +75,7 @@
{{ $link := cond $paramlink .Params.link .Permalink }}
{{ if $authors }}
{{ with $authors }}
{{ $primary := index . 0 }}
{{ if and $primary.name $primary.email }}