Simplify
This commit is contained in:
@@ -63,9 +63,9 @@
|
|||||||
{{ $objects := slice }}
|
{{ $objects := slice }}
|
||||||
|
|
||||||
{{ range $authors }}
|
{{ range $authors }}
|
||||||
{{ $email := cond (. | not | not) .Params.paige.author.email "" }}
|
{{ $email := .Params.paige.author.email }}
|
||||||
{{ $name := cond (. | not | not) .Params.paige.author.name "" }}
|
{{ $name := .Params.paige.author.name }}
|
||||||
{{ $url := cond (. | not | not) .Params.paige.author.url "" }}
|
{{ $url := .Params.paige.author.url }}
|
||||||
|
|
||||||
{{ if or $email $name $url }}
|
{{ if or $email $name $url }}
|
||||||
{{ $object := newScratch }}
|
{{ $object := newScratch }}
|
||||||
|
Reference in New Issue
Block a user