Rename authors.html to func-authors.html
This commit is contained in:
@@ -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" }}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
<meta charset="utf-8">
|
||||
|
||||
{{ with partial "paige/authors.html" $page }}
|
||||
{{ with partial "paige/func-authors.html" $page }}
|
||||
{{ $authors := slice }}
|
||||
|
||||
{{ range . }}
|
||||
|
@@ -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" }}
|
||||
|
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user