1
0
mirror of https://github.com/mbirth/wiki.git synced 2024-09-19 06:23:25 +01:00

Improve navigator.

This commit is contained in:
Markus Birth 2015-02-21 12:33:18 +01:00
parent 629e2bf3e3
commit 816138815d
2 changed files with 5 additions and 6 deletions

View File

@ -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 %}

View File

@ -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 {