Rename authors.html to func-authors.html

This commit is contained in:
Will Faught
2025-02-05 15:50:46 -08:00
parent 4bc542b6b1
commit 1370d35762
7 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
{{ $page := . }}
{{ $result := $page.GetTerms "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 }}
{{ end }}
{{ end }}
{{ end }}
{{ return $result }}