From 23121f6ae7a1e8ad727648bdd500172db5dc4f9d Mon Sep 17 00:00:00 2001 From: Will Faught Date: Fri, 14 Feb 2025 13:09:19 -0800 Subject: [PATCH] Simplify --- layouts/partials/paige/schema.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/paige/schema.html b/layouts/partials/paige/schema.html index 0a4aefb6..a97271de 100644 --- a/layouts/partials/paige/schema.html +++ b/layouts/partials/paige/schema.html @@ -63,9 +63,9 @@ {{ $objects := slice }} {{ range $authors }} - {{ $email := cond (. | not | not) .Params.paige.author.email "" }} - {{ $name := cond (. | not | not) .Params.paige.author.name "" }} - {{ $url := cond (. | not | not) .Params.paige.author.url "" }} + {{ $email := .Params.paige.author.email }} + {{ $name := .Params.paige.author.name }} + {{ $url := .Params.paige.author.url }} {{ if or $email $name $url }} {{ $object := newScratch }}