end of article tag moved to footer, nextprev on

This commit is contained in:
Luke Smith
2022-07-11 15:24:29 -04:00
parent 07c8d9debf
commit c229e1b2e0
4 changed files with 24 additions and 1 deletions

View File

@@ -1,4 +1,6 @@
{{ partial "nextprev.html" . -}}
{{ partial "taglist.html" . -}}
</article>
</main>
<footer>
<a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a><br><br>

View File

@@ -0,0 +1,9 @@
{{ 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 }}