1
0
Fork 0
forked from mirrors/hugo-tufte

Update...

This commit is contained in:
Phil Bajsicki 2024-09-27 20:45:08 +02:00
commit 92335d1150
2 changed files with 5 additions and 5 deletions
layouts/partials

View file

@ -2,14 +2,14 @@
<hr />
<div class="previous-post" style="display:inline-block;">
{{ if .PrevPage }}
<a class="link-reverse" href="{{ .PrevPage.Permalink }}?ref=footer">« {{ .PrevPage.Title | truncate 50 "..."}}</a>
{{ if .Page.Prev }}
<a class="link-reverse" href="{{ .Page.Prev.Permalink }}?ref=footer">« {{ .Page.Prev.Title | truncate 50 "..."}}</a>
{{ end }}
</div>
<div class="next-post", style="display:inline-block;float:right;">
{{ if .NextPage }}
<a class="link-reverse" href="{{ .NextPage.Permalink }}?ref=footer">{{ .NextPage.Title | truncate 50 "..." }} »</a>
{{ if .Page.Next }}
<a class="link-reverse" href="{{ .Page.Next.Permalink }}?ref=footer">{{ .Page.Next.Title | truncate 50 "..." }} »</a>
{{ end }}
</div>