Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Buschmann committed Dec 1, 2020
1 parent e654362 commit 02d0639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% endif %}
</article>

{% if site.show_social != true or site.sidebar and site.show_related %}
{% if site.show_related and site.show_social != true or site.sidebar %}
<footer class="related">
<div class="previous">{% if page.previous.url %}<span>Previous Post</span><a href="{{ page.previous.url | relative_url }}">{{ page.previous.title }}</a>{% endif %}</div>
<div class="next">{% if page.next.url %}<span>Next Post</span><a href="{{ page.next.url | relative_url }}">{{ page.next.title }}</a>{% endif %}</div>
Expand Down

0 comments on commit 02d0639

Please sign in to comment.