Rename func-authors.html to authors.html

This commit is contained in:
Will Faught
2023-02-22 23:14:41 -08:00
parent 21143b8756
commit a3dc86ddba
5 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,7 @@
{{ end }}
{{ range $pages }}
<item>
{{ with partial "paige/func-authors.html" . }}
{{ with partial "paige/authors.html" . }}
<author>{{ . }}</author>
{{ end }}
{{ if .Content }}

View File

@@ -8,7 +8,7 @@
{{ $listshowcontent = $params.listshowcontent }}
{{ end }}
{{ $authors := cond ($page.Param "paige.main.metadata.authors.hide" | not) (partial "paige/func-authors.html" $page) "" }}
{{ $authors := cond ($page.Param "paige.main.metadata.authors.hide" | not) (partial "paige/authors.html" $page) "" }}
{{ $authorsclass := $page.Param "paige.main.metadata.authors.class" | default "paige-authors text-center text-secondary" }}
{{ $categories := cond ($page.Param "paige.main.metadata.terms.hide" | not) ($page.Params.categories | default slice) slice | uniq }}
{{ $commiturl := "" }}

View File

@@ -2,7 +2,7 @@
<meta charset="utf-8">
{{ with partial "paige/func-authors.html" $page }}
{{ with partial "paige/authors.html" $page }}
<meta content="{{ . }}" name="author">
{{ end }}

View File

@@ -23,7 +23,7 @@
<p class="{{ $.Param `paige.list.date_header.class` | default `h5 paige-date-header text-center` }}">{{ .Key }}</p>
{{ end }}
{{ range .Pages }}
{{ $authors := cond ($page.Param "paige.list.authors.hide" | not) (partial "paige/func-authors.html" .) "" }}
{{ $authors := cond ($page.Param "paige.list.authors.hide" | not) (partial "paige/authors.html" .) "" }}
{{ $authorsclass := $page.Param "paige.list.authors.class" | default "mb-0 paige-authors text-center text-secondary" }}
{{ $categories := cond ($page.Param "paige.list.terms.hide" | not) (.Params.categories | default slice) slice | uniq }}
{{ $commiturl := "" }}