fix light theme

This commit is contained in:
Adrien Beudin 2018-03-28 10:40:31 +02:00
parent e184f90433
commit aee9953687

View File

@ -1,7 +1,12 @@
{% if settings.settings.light_mode %}
{% set pathstatic = ".." %}
{% else %}
{% set pathstatic = "." %}
{% endif %}
{% set image = Image(section.image) %}
{{ image.copy() }}
<div class="author-meta">
<img src=../{{ image.generate_thumbnail("200x200") }} alt="" class="circle">
<img src="{{ pathstatic }}/{{ image.generate_thumbnail("200x200") }}" alt="" class="circle">
<div>
<span class=author-info>Story by
<h4>{{ section.name }}</h4>