mirror of
https://github.com/mbirth/wiki.git
synced 2024-11-09 13:16:45 +00:00
Improve navigator.
This commit is contained in:
parent
629e2bf3e3
commit
816138815d
@ -60,12 +60,12 @@
|
||||
<section id="related">
|
||||
{% if page.next %}
|
||||
<div id="nextpost">
|
||||
<a rel="next" href="{{ page.next.url }}">← Next post: {{ page.next.title }}</a>
|
||||
<a rel="next" href="{{ page.next.url }}">← {{ page.next.title }}</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if page.previous %}
|
||||
<div id="prevpost">
|
||||
<a rel="previous" href="{{ page.previous.url }}">Previous post: {{ page.previous.title }} →</a>
|
||||
<a rel="previous" href="{{ page.previous.url }}">{{ page.previous.title }} →</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% comment %}
|
||||
|
@ -18,13 +18,12 @@ abbr, acronym {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#nextpost, #prevpost {
|
||||
display: inline-block;
|
||||
width: 450p;
|
||||
#nextpost {
|
||||
float: left;
|
||||
}
|
||||
|
||||
#prevpost {
|
||||
text-align: right;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.noteclassic, .noteimportant, .notewarning, .notetip {
|
||||
|
Loading…
Reference in New Issue
Block a user