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 #285
  • Loading branch information
mmistakes committed Apr 27, 2016
1 parent 0259611 commit 5c85060
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 5c85060

Please sign in to comment.