Browse Source

Update post.html

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
4fc637fc4b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      _layouts/post.html

4
_layouts/post.html

@ -41,7 +41,7 @@ section_id: blog
<div class="row"> <div class="row">
<div class="small-6 columns"> <div class="small-6 columns">
{% if page.previous.url %} {% if page.previous.url %}
<a class="previous button boxed black" href='{{page.previous.url}}'> <a class="previous button boxed black" href='{{page.previous.url | replace:'.html','' }}'>
<i class='fa fa-angle-left'></i> Previous post <i class='fa fa-angle-left'></i> Previous post
</a> </a>
{% endif %} {% endif %}
@ -49,7 +49,7 @@ section_id: blog
</div> </div>
<div class="small-6 columns"> <div class="small-6 columns">
{% if page.next.url %} {% if page.next.url %}
<a class="next button boxed black" href='{{page.next.url}}'> <a class="next button boxed black" href='{{page.next.url | replace:'.html','' }}'>
Next post <i class='fa fa-angle-right'></i> Next post <i class='fa fa-angle-right'></i>
</a> </a>
{% endif %} {% endif %}

Loading…
Cancel
Save