feat: update for netlify dev support

This commit is contained in:
Henk Verlinde
2021-04-02 19:45:05 +02:00
parent 73cc63324e
commit 10d0b45203
37 changed files with 112 additions and 102 deletions

View File

@ -3,7 +3,7 @@
<!-- https://www.feliciano.tech/blog/custom-sort-hugo-single-pages/ -->
{{ $pages := where site.RegularPages "Section" .Section -}}
{{ with $pages.Next . -}}
<a href="{{ .Permalink }}">
<a href="{{ .RelPermalink }}">
<div class="card my-1">
<div class="card-body py-2">
&larr; {{ .Title }}
@ -12,7 +12,7 @@
</a>
{{ end -}}
{{ with $pages.Prev . -}}
<a class="ms-auto" href="{{ .Permalink }}">
<a class="ms-auto" href="{{ .RelPermalink }}">
<div class="card my-1">
<div class="card-body py-2">
{{ .Title }} &rarr;