fix markdown.js included twice

master
Aevann 2023-10-12 21:53:55 +03:00
parent 94fbdf5918
commit 80335a983e
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@
{% include "pagination.html" %} {% include "pagination.html" %}
{% endif %} {% endif %}
{% if not request.path.endswith('/comments') and not request.path.endswith(u.username) %} {% if request.path.endswith('/posts') %}
<script defer src="{{'js/vendor/marked.js' | asset}}"></script> <script defer src="{{'js/vendor/marked.js' | asset}}"></script>
<script defer src="{{'js/markdown.js' | asset}}"></script> <script defer src="{{'js/markdown.js' | asset}}"></script>
{% endif %} {% endif %}