Rename func-authors.html to authors.html

master
Will Faught 2 years ago
parent 21143b8756
commit a3dc86ddba

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

@ -8,7 +8,7 @@
{{ $listshowcontent = $params.listshowcontent }} {{ $listshowcontent = $params.listshowcontent }}
{{ end }} {{ 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" }} {{ $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 }} {{ $categories := cond ($page.Param "paige.main.metadata.terms.hide" | not) ($page.Params.categories | default slice) slice | uniq }}
{{ $commiturl := "" }} {{ $commiturl := "" }}

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

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

Loading…
Cancel
Save