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

@@ -3,12 +3,12 @@
{{ $p := .Paginate .Pages }}
{{ range $p.Pages }}
{{ .Scratch.Set "paige_show_full_pages" true }}
{{ partial "paige/article.html" . }}
{{ partial "paige/article" . }}
{{ end }}
{{ if or $p.HasPrev $p.HasNext }}
<section>
<div class="d-flex justify-content-center">
{{ partial "paige/pagination.html" . }}
{{ partial "paige/pagination" . }}
</div>
</section>
{{ end }}
@@ -27,7 +27,7 @@
{{ if or $p.HasPrev $p.HasNext }}
<section>
<div class="d-flex justify-content-center">
{{ partial "paige/pagination.html" . }}
{{ partial "paige/pagination" . }}
</div>
</section>
{{ end }}