Fix show-avatar to work on both pages and layouts

This commit is contained in:
Hristo Yankov 2016-02-09 00:40:05 +02:00
parent bcf4d1dc19
commit 2d5fb57c48

View File

@ -35,7 +35,7 @@
</ul>
</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-img-border">
<a href="{{ site.url }} ">