Change if statement to with
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
|
||||
{{ $link := cond $paramlink .Params.link .Permalink }}
|
||||
|
||||
{{ if $authors }}
|
||||
{{ with $authors }}
|
||||
{{ $primary := index . 0 }}
|
||||
|
||||
{{ if and $primary.name $primary.email }}
|
||||
|
Reference in New Issue
Block a user