1
0
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:
RealAngeleno 2023-07-13 22:11:59 -07:00 committed by GitHub
parent 485862acaa
commit 899cfe1aaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}&amp;t={{ post.filename|e('url') }}&amp;loop=1 {{ config.root }}player.php?v={{ config.uri_img }}{{ post.file }}&amp;t={% if config.show_filename %}{{ post.filename|e('url') }}{% else %}{{ post.file }}{% endif %}&amp;loop=1
{% else %} {% else %}
{{ config.uri_img }}{{ post.file }} {{ config.uri_img }}{{ post.file }}
{% endif %} {% endif %}