Use with where possible
This commit is contained in:
@@ -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 }}
|
||||
|
Reference in New Issue
Block a user