Reorder condition values

master
Will Faught 1 year ago
parent 6759d5916c
commit d4eed74399

@ -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 }}

Loading…
Cancel
Save