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