Drop file extension from partial uses
This commit is contained in:
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user