Skip to content

Commit

Permalink
fix light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
beudbeud committed Mar 28, 2018
1 parent e184f90 commit aee9953
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion prosopopee/themes/light/templates/sections/author.html
Original file line number Diff line number Diff line change
@@ -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>
Expand Down

0 comments on commit aee9953

Please sign in to comment.