Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

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
makaroniame committed Apr 27, 2016
1 parent 5a9c4df commit 7eda21d
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 7eda21d

Please sign in to comment.