Skip to content

Commit

Permalink
Allow author_profile to be toggled in a _layout (eg. archive-taxono…
Browse files Browse the repository at this point in the history
…my.html)

- Close mmistakes#285
  • Loading branch information
mmistakes authored and sobkowiak committed Apr 29, 2016
1 parent d450d27 commit 754fc44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{% include base_path %}

{% if page.author_profile or page.sidebar %}
{% if page.author_profile or layout.author_profile or page.sidebar %}
<div class="sidebar sticky">
{% if page.author_profile %}{% include author-profile.html %}{% endif %}
{% if page.author_profile or layout.author_profile %}{% include author-profile.html %}{% endif %}
{% if page.sidebar %}
{% for s in page.sidebar %}
{% if s.image %}
Expand Down

0 comments on commit 754fc44

Please sign in to comment.