Drop file extension from partial uses

This commit is contained in:
Will Faught
2022-12-29 22:31:47 -08:00
parent 2ece967314
commit 887be3eb42
16 changed files with 38 additions and 38 deletions

View File

@@ -13,7 +13,7 @@
{{ $pages = $pages | first $limit }}
{{ end }}
{{ $pages = where $pages "Params.paige.hide_rss" "ne" true }}
{{ $title := partial "paige/func-title.html" . }}
{{ $title := partial "paige/func-title" . }}
{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
@@ -42,7 +42,7 @@
{{ end }}
{{ range $pages }}
<item>
{{ with partial "paige/func-authors.html" . }}
{{ with partial "paige/func-authors" . }}
<author>{{ . }}</author>
{{ end }}
{{ if .Content }}