hugo

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 930c7fc421b06e7a75d01db23c5f819b32167af6
parent c229e1b2e0c9423f49e503f94965d7aeb528c07b
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 11 Jul 2022 15:31:01 -0400

nextprev whitespace fix

Diffstat:
Mlayouts/partials/nextprev.html | 19++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/layouts/partials/nextprev.html b/layouts/partials/nextprev.html @@ -1,9 +1,10 @@ - {{ if or .Next .Prev }} - {{- with .Prev }} - <a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a> - {{ end }} - {{- with .Next }} - <a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a> - {{ end }} - <br style="clear:both"> - {{ end }} +{{ if or .Next .Prev -}} +<br style="clear:both"> +{{- with .Prev }} +<a href="{{ .RelPermalink}}"><div id="prevart">Previous:<br>{{.Title}}</div></a> +{{ end -}} +{{- with .Next -}} +<a href="{{ .RelPermalink}}"><div id="nextart">Next:<br>{{.Title}}</div></a> +{{ end -}} +<br style="clear:both"> +{{ end -}}