@ -25,10 +25,10 @@
{{ $subpages = $subpages | first $limit }}
{{ $subpages = $subpages | first $limit }}
{{ end }}
{{ end }}
{{ $titles := slice ($page.Title | markdownify) }}
{{ $titles := slice (markdownify $page.Title ) }}
{{ range .Ancestors }}
{{ range .Ancestors }}
{{ $titles = $titles | append (.Title | markdownify) }}
{{ $titles = $titles | append (markdownify .Title ) }}
{{ end }}
{{ end }}
{{ $title := delimit $titles " · " }}
{{ $title := delimit $titles " · " }}
@ -89,7 +89,7 @@
<webMaster > {{ . }}</webMaster>
<webMaster > {{ . }}</webMaster>
{{ end }}
{{ end }}
{{ range $subpage := $subpage s }}
{{ range $subpages }}
<item >
<item >
{{ $author := "" }}
{{ $author := "" }}
{{ $authors := partial "paige/func-authors.html" . }}
{{ $authors := partial "paige/func-authors.html" . }}
@ -123,8 +123,8 @@
{{ $description = .Description | markdownify }}
{{ $description = .Description | markdownify }}
{{ end }}
{{ end }}
{{ $description = $description | replaceRE `<a href= "#fn:(\d+)" class= "footnote-ref" role= "doc-noteref" > ` (printf `<a href= "%s#fn:$1" class= "footnote-ref" role= "doc-noteref" > ` .Permalink) }}
{{ $description = replaceRE `<a href= "#fn:(\d+)" class= "footnote-ref" role= "doc-noteref" > ` (printf `<a href= "%s#fn:$1" class= "footnote-ref" role= "doc-noteref" > ` .Permalink) $description }}
{{ $description = $description | replaceRE `<a href= "#fnref:(\d+)" class= "footnote-backref" role= "doc-backlink" > ` (printf `<a href= "%s#fnref:$1" class= "footnote-backref" role= "doc-backlink" > ` .Permalink) }}
{{ $description = replaceRE `<a href= "#fnref:(\d+)" class= "footnote-backref" role= "doc-backlink" > ` (printf `<a href= "%s#fnref:$1" class= "footnote-backref" role= "doc-backlink" > ` .Permalink) $description }}
{{ if and (not $description) (not $title) }}
{{ if and (not $description) (not $title) }}
{{ warnf "layouts/_default/rss.xml: Page %s does not have a title or description. The rss output requires a title or description. Either set the page's title or description parameters, or disable the rss output." .RelPermalink }}
{{ warnf "layouts/_default/rss.xml: Page %s does not have a title or description. The rss output requires a title or description. Either set the page's title or description parameters, or disable the rss output." .RelPermalink }}