Added isso.min.js as default ISSO_EMBED_JS_PATH
This commit is contained in:
parent
eb68d3a9d9
commit
9bb3eb2456
2 changed files with 26 additions and 2 deletions
20
static/isso/isso.min.js
vendored
Normal file
20
static/isso/isso.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -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"
|
||||
src="{{ ISSO_EMBED_JS_PATH }}"
|
||||
{% 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 }}"
|
||||
|
|
Loading…
Reference in a new issue