Fix show-avatar to work on both pages and layouts
This commit is contained in:
parent
bcf4d1dc19
commit
2d5fb57c48
@ -35,7 +35,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% if site.avatar and page.show-avatar %}
|
{% if site.avatar and (layout.show-avatar or page.show-avatar) %}
|
||||||
<div class="avatar-container">
|
<div class="avatar-container">
|
||||||
<div class="avatar-img-border">
|
<div class="avatar-img-border">
|
||||||
<a href="{{ site.url }} ">
|
<a href="{{ site.url }} ">
|
||||||
|
Loading…
Reference in New Issue
Block a user