Added isso.min.js as default ISSO_EMBED_JS_PATH

This commit is contained in:
Sumner Evans 2020-04-15 09:15:46 -06:00
parent eb68d3a9d9
commit 9bb3eb2456
No known key found for this signature in database
GPG key ID: 8904527AB50022FD
2 changed files with 26 additions and 2 deletions

20
static/isso/isso.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,9 +1,13 @@
{% if ISSO_EMBED_JS_PATH %}
{% if ISSO_URL %}
<!-- Isso -->
<section id="isso-thread" data-title="{{ article.title|e }}"></section>
<script
type="text/javascript"
{% if ISSO_EMBED_JS_PATH %}
src="{{ ISSO_EMBED_JS_PATH }}"
{% else %}
src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/isso/isso.min.js"
{% endif %}
{% if ISSO_URL %}
data-isso="{{ ISSO_URL }}"