forked from MarseyWorld/MarseyWorld
fix markdown.js included twice
parent
94fbdf5918
commit
80335a983e
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue