Use with where possible

This commit is contained in:
Will Faught
2022-12-13 22:08:04 -08:00
parent e0ddce45e4
commit ff587e94e0
10 changed files with 31 additions and 31 deletions

View File

@@ -6,15 +6,15 @@
{{ range .Pages }}
<p class="text-center">
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
{{ if .Description }}
{{ with .Description }}
<br>
{{ .Description | markdownify }}
{{ . | markdownify }}
{{ end }}
</p>
{{ end }}
{{ end }}
{{ if or $p.HasPrev $p.HasNext }}
<div class="d-flex justify-content-center pt-3">
<div class="d-flex justify-content-center">
{{ partial "paige-pagination.html" . }}
</div>
{{ end }}