Allow author_profile to be toggled in a _layout (eg. archive-taxonomy.html)

- Close #285
This commit is contained in:
Michael Rose 2016-04-27 10:15:42 -04:00
parent 0259611085
commit 5c8506088c

View file

@ -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 %}