mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-12-23 22:09:44 +01:00
Patch: Updated next and prev references and enhanced printing
This commit is contained in:
parent
6f6536e8ac
commit
5cdc616d96
1 changed files with 7 additions and 7 deletions
|
@ -1,17 +1,17 @@
|
||||||
<footer class="page-footer">
|
<footer class="page-footer">
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
{{ if .Prev }}
|
||||||
<div class="previous-post" style="display:inline-block;">
|
<div class="previous-post" style="display:inline-block;">
|
||||||
{{ if .PrevPage }}
|
<a class="link-reverse" href="{{ .Prev.Permalink }}?ref=footer">« {{ .Prev.Title | truncate 50 "..."}}</a>
|
||||||
<a class="link-reverse" href="{{ .PrevPage.Permalink }}?ref=footer">« {{ .PrevPage.Title | truncate 50 "..."}}</a>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if .Next }}
|
||||||
<div class="next-post", style="display:inline-block;float:right;">
|
<div class="next-post", style="display:inline-block;float:right;">
|
||||||
{{ if .NextPage }}
|
<a class="link-reverse" href="{{ .Next.Permalink }}?ref=footer">{{ .Next.Title | truncate 50 "..." }} »</a>
|
||||||
<a class="link-reverse" href="{{ .NextPage.Permalink }}?ref=footer">{{ .NextPage.Title | truncate 50 "..." }} »</a>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<ul class="page-footer-menu">
|
<ul class="page-footer-menu">
|
||||||
{{/* SOCIALS */}}
|
{{/* SOCIALS */}}
|
||||||
|
|
Loading…
Reference in a new issue