From d4eed7439926cbfef28ee08a12bab4dfd3929884 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Mon, 3 Jun 2024 20:01:33 -0700 Subject: [PATCH] Reorder condition values --- layouts/partials/paige/authors.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/paige/authors.html b/layouts/partials/paige/authors.html index 1e44cacc..2d49aa52 100644 --- a/layouts/partials/paige/authors.html +++ b/layouts/partials/paige/authors.html @@ -2,7 +2,7 @@ {{ $result := $page.GetTerms "authors" }} -{{ if and $page.IsPage (not $result) site.Taxonomies.authors }} +{{ if and (not $result) $page.IsPage site.Taxonomies.authors }} {{ range $id, $taxonomy := site.Taxonomies.authors }} {{ if eq $taxonomy.Page.Params.default true }} {{ $result = $result | append $taxonomy.Page }}