mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-25 22:48:00 +01:00
Add config.root before image_deleted to solve custom asset 404
This commit is contained in:
parent
1ab39952af
commit
7e4a0c9fe4
@ -5,7 +5,7 @@
|
|||||||
{% for file in post.files %}
|
{% for file in post.files %}
|
||||||
<div class="file{% if post.num_files > 1 %} multifile" style="width:{{ file.thumbwidth + 40 }}px"{% else %}"{% endif %}>
|
<div class="file{% if post.num_files > 1 %} multifile" style="width:{{ file.thumbwidth + 40 }}px"{% else %}"{% endif %}>
|
||||||
{% if file.file == 'deleted' %}
|
{% if file.file == 'deleted' %}
|
||||||
<img class="post-image deleted" src="{{ config.image_deleted }}" alt="" />
|
<img class="post-image deleted" src="{{ config.root }}{{ config.image_deleted }}" alt="" />
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="fileinfo">File: <a href="{{ config.uri_img }}{{ file.file }}">{{ file.file }}</a> <span class="unimportant">
|
<p class="fileinfo">File: <a href="{{ config.uri_img }}{{ file.file }}">{{ file.file }}</a> <span class="unimportant">
|
||||||
(
|
(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user