mirror of
https://github.com/KivotosRailway/website.git
synced 2026-11-03 19:07:56 +09:00
Add solitude
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
nav.needEndHide.pagination-post#pagination
|
||||
if page.prev && page.next
|
||||
.prev-post.pull-left
|
||||
a(href=url_for(page.prev.path))
|
||||
.pagination-info
|
||||
.label=_p('post.nav.prev')
|
||||
.prev_info= page.prev.title
|
||||
.next-post.pull-right
|
||||
a(href=url_for(page.next.path))
|
||||
.pagination-info
|
||||
.label=_p('post.nav.next')
|
||||
.next_info= page.next.title
|
||||
else
|
||||
if !page.prev && page.next
|
||||
.next-post.pull-full
|
||||
a(href=url_for(page.next.path))
|
||||
div.pagination-info
|
||||
.label=_p('post.nav.next')
|
||||
.next_info= page.next.title
|
||||
if !page.next && page.prev
|
||||
.prev-post.pull-full
|
||||
a(href=url_for(page.prev.path))
|
||||
.pagination-info
|
||||
.label=_p('post.nav.prev')
|
||||
.prev_info= page.prev.title
|
||||
Reference in New Issue
Block a user