Browse Source

make seps same size, add a link to the base of the blog..

main
John-Mark Gurney 3 years ago
parent
commit
a2fb7f6c9b
1 changed files with 6 additions and 2 deletions
  1. +6
    -2
      layout/blog.j2

+ 6
- 2
layout/blog.j2 View File

@@ -31,19 +31,23 @@
{%- endmark %}
<section>
<p class='prevnext'>
<a class="small prev{{' disabled' if not resource.prev_by_time }}"
<span class="small">
<a class="prev{{' disabled' if not resource.prev_by_time }}"
title="{{ resource.prev_by_time.meta.title }}"
{% if resource.prev_by_time %}
href="{{ content_url(resource.prev_by_time.url) }}"{% endif %}>
Next
</a>
|
<a class="small next{{' disabled' if not resource.next_by_time }}"
<a href="{{ base_url }}">Home</a>
|
<a class="next{{' disabled' if not resource.next_by_time }}"
title="{{ resource.next_by_time.meta.title }}"
{% if resource.next_by_time %}
href="{{ content_url(resource.next_by_time.url) }}"{% endif %}>
Previous
</a>
</span>
</div>
</section>



Loading…
Cancel
Save