Rename authors.html to func-authors.html
This commit is contained in:
@@ -126,7 +126,7 @@
|
||||
{{ warnf "layouts/_default/list.atom.xml: Page %s does not have a modified date. The atom output requires a modified date. Either set the page's date parameter, or set the page's paige.feed.disable parameter to true, or disable the atom output." .RelPermalink }}
|
||||
{{ end }}
|
||||
|
||||
{{ with partial "paige/authors.html" . }}
|
||||
{{ with partial "paige/func-authors.html" . }}
|
||||
{{ range . }}
|
||||
<author>
|
||||
{{ with .Params.paige.author.email }}
|
||||
|
@@ -91,7 +91,7 @@
|
||||
{{ range $subpage := $subpages }}
|
||||
<item>
|
||||
{{ $author := "" }}
|
||||
{{ $authors := partial "paige/authors.html" . }}
|
||||
{{ $authors := partial "paige/func-authors.html" . }}
|
||||
{{ $description := .Content }}
|
||||
{{ $guid := printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host (.PublishDate.Format "2006-01-02") (cond (.Params.id | not) .RelPermalink .Params.id) }}
|
||||
{{ $paramlink := and .Params.link (not (.Param "paige.feed.link_to_page")) | not | not }}
|
||||
|
@@ -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