fix light theme
This commit is contained in:
parent
e184f90433
commit
aee9953687
@ -1,7 +1,12 @@
|
|||||||
|
{% if settings.settings.light_mode %}
|
||||||
|
{% set pathstatic = ".." %}
|
||||||
|
{% else %}
|
||||||
|
{% set pathstatic = "." %}
|
||||||
|
{% endif %}
|
||||||
{% set image = Image(section.image) %}
|
{% set image = Image(section.image) %}
|
||||||
{{ image.copy() }}
|
{{ image.copy() }}
|
||||||
<div class="author-meta">
|
<div class="author-meta">
|
||||||
<img src=../{{ image.generate_thumbnail("200x200") }} alt="" class="circle">
|
<img src="{{ pathstatic }}/{{ image.generate_thumbnail("200x200") }}" alt="" class="circle">
|
||||||
<div>
|
<div>
|
||||||
<span class=author-info>Story by
|
<span class=author-info>Story by
|
||||||
<h4>{{ section.name }}</h4>
|
<h4>{{ section.name }}</h4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user