forked from mirrors/hugo-tufte
Update...
This commit is contained in:
parent
ceedc91cfa
commit
92335d1150
2 changed files with 5 additions and 5 deletions
layouts/partials
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue