Add optional modifier: <tinyboard is_file> to tell Tinyboard that even though an image might have a thumbnail, it could still be a non-image upload
This commit is contained in:
parent
fa4dec36db
commit
dcf97d6b5b
@ -91,7 +91,7 @@
|
||||
)
|
||||
</span>
|
||||
</p>
|
||||
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' %} class="file"{% endif %}>
|
||||
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' or post.modifiers['is_file'] == '1' %} class="file"{% endif %}>
|
||||
<img class="post-image" src="
|
||||
{% if post.thumb == 'file' %}
|
||||
{{ config.root }}
|
||||
|
@ -41,7 +41,7 @@
|
||||
{% endif %}
|
||||
)
|
||||
</span></p>
|
||||
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' %} class="file"{% endif %}>
|
||||
<a href="{{ config.uri_img }}{{ post.file }}" target="_blank"{% if post.thumb == 'file' or post.modifiers['is_file'] == '1' %} class="file"{% endif %}>
|
||||
<img class="post-image" src="
|
||||
{% if post.thumb == 'file' %}
|
||||
{{ config.root }}
|
||||
|
Loading…
Reference in New Issue
Block a user