mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-12-24 16:38:49 -05:00
Adds prev/next link below post, fixes #218
This commit is contained in:
parent
d84daa2a88
commit
2812bf7c3e
@ -73,7 +73,9 @@ article {
|
|||||||
@extend .sans;
|
@extend .sans;
|
||||||
p.meta {
|
p.meta {
|
||||||
margin-bottom: .8em;
|
margin-bottom: .8em;
|
||||||
font-size: .85em;
|
font-size: .85em
|
||||||
|
clear: both;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
|
.byline + time:before, time +time:before, .comments:before, .byline ~ .categories:before {
|
||||||
@extend .separator;
|
@extend .separator;
|
||||||
|
@ -15,6 +15,14 @@ single: true
|
|||||||
{% unless page.sharing == false %}
|
{% unless page.sharing == false %}
|
||||||
{% include post/sharing.html %}
|
{% include post/sharing.html %}
|
||||||
{% endunless %}
|
{% endunless %}
|
||||||
|
<p class="meta">
|
||||||
|
{% if page.previous.url %}
|
||||||
|
<a class="basic-alignment left" href="{{page.previous.url}}" title="Previous Post: {{page.previous.title}}">« {{page.previous.title}}</a>
|
||||||
|
{% endif %}
|
||||||
|
{% if page.next.url %}
|
||||||
|
<a class="basic-alignment right" href="{{page.next.url}}" title="next Post: {{page.next.title}}">{{page.next.title}} »</a>
|
||||||
|
{% endif %}
|
||||||
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{% if site.disqus_short_name and page.comments == true %}
|
{% if site.disqus_short_name and page.comments == true %}
|
||||||
|
Loading…
Reference in New Issue
Block a user