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

@@ -1,6 +1,6 @@
{{ $page := . }}
{{ $authors := partial "paige/authors.html" $page | and ($page.Parent.Param "paige.list_page.disable_authors" | not) }}
{{ $authors := partial "paige/func-authors.html" $page | and ($page.Parent.Param "paige.list_page.disable_authors" | not) }}
{{ $categories := $page.GetTerms "categories" }}
{{ $date := $page.PublishDate | and ($page.Parent.Param "paige.list_page.disable_date" | not) }}
{{ $dateformat := $page.Parent.Param "paige.date_format" | default ":date_long" }}

View File

@@ -2,7 +2,7 @@
<meta charset="utf-8">
{{ with partial "paige/authors.html" $page }}
{{ with partial "paige/func-authors.html" $page }}
{{ $authors := slice }}
{{ range . }}

View File

@@ -1,7 +1,7 @@
{{ $page := . }}
{{ $alert := $page.Param "paige.alert" | and ($page.Param "paige.page.disable_alert" | not) }}
{{ $authors := partial "paige/authors.html" $page | and ($page.Param "paige.page.disable_authors" | not) }}
{{ $authors := partial "paige/func-authors.html" $page | and ($page.Param "paige.page.disable_authors" | not) }}
{{ $categories := $page.GetTerms "categories" }}
{{ $date := and $page.IsPage $page.PublishDate | and ($page.Param "paige.page.disable_date" | not) }}
{{ $dateformat := $page.Param "paige.date_format" | default ":date_long" }}

View File

@@ -14,7 +14,7 @@
{{ if $auto }}
{{ $audios := $page.Params.audio | default slice}}
{{ $authors := partial "paige/authors.html" $page }}
{{ $authors := partial "paige/func-authors.html" $page }}
{{ $images := $page.Params.images | default slice }}
{{ $keywords := sort (union (union $page.Keywords $page.Params.tags) $page.Params.categories) }}
{{ $license := $page.Param "paige.license" | markdownify | plainify }}