mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-12-03 15:12:14 +00:00
Allow author_profile
to be toggled in a _layout (eg. archive-taxonomy.html)
- Close #285
This commit is contained in:
parent
0259611085
commit
5c8506088c
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user