mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 07:30:10 +01:00
Fix oversight in hide_filename
This commit is contained in:
parent
485862acaa
commit
899cfe1aaa
@ -1,6 +1,6 @@
|
|||||||
<a href="
|
<a href="
|
||||||
{% if post.file|extension == 'webm' or post.file|extension == 'mp4' %}
|
{% if post.file|extension == 'webm' or post.file|extension == 'mp4' %}
|
||||||
{{ config.root }}player.php?v={{ config.uri_img }}{{ post.file }}&t={{ post.filename|e('url') }}&loop=1
|
{{ config.root }}player.php?v={{ config.uri_img }}{{ post.file }}&t={% if config.show_filename %}{{ post.filename|e('url') }}{% else %}{{ post.file }}{% endif %}&loop=1
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ config.uri_img }}{{ post.file }}
|
{{ config.uri_img }}{{ post.file }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user