Skip to content

Commit

Permalink
fix next/prev url issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gayanvirajith committed Sep 8, 2014
1 parent 99de675 commit f382252
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ <h4>Related Posts</h2>
<div class="post-footer">
<div class="column-1">
{% if page.previous %}
<a href="{{page.previous.url}}"><< Older</a>
<a href="{{page.previous.url | prepend: site.baseurl }}"><< Older</a>
{% else %}
<span><< Older</span>
{% endif %}
</div>
<div class="column-2"><a href="{{ site.baseurl }}/">Home</a></div>
<div class="column-2"><a href="{{ site.url | prepend: site.baseurl }} ">Home</a></div>
<div class="column-3">
{% if page.next %}
<a href="{{ page.next.url }}">Newer >></a>
<a href="{{ page.next.url | prepend: site.baseurl }}">Newer >></a>
{% else %}
<span>Newer >></span>
{% endif %}
</div>
</div>
</div>


0 comments on commit f382252

Please sign in to comment.