Fix Isso errors

This commit is contained in:
Kujiu 2020-05-25 12:38:50 +02:00
parent 1ebff9c5e1
commit 41c0928194
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F

View file

@ -1,6 +1,6 @@
{% if theme_isso %} {% if theme_isso %}
<script data-isso="/isso" <script data-isso="{{ theme_isso['prefix'] }}"
data-isso-id="{{ ablog.page_url(pagename) }}{% if not ablog.page_url(pagename) or ablog.page_url(pagename).endswith('/') %}index{% endif %}{{ file_suffix }}" data-isso-id="{{ pagename }}"
data-isso-css="false" data-isso-css="false"
data-isso-lang="{{ theme_isso['lang'] }}" data-isso-lang="{{ theme_isso['lang'] }}"
data-isso-reply-to-self="{{ theme_isso['reply_to_self'] }}" data-isso-reply-to-self="{{ theme_isso['reply_to_self'] }}"
@ -18,7 +18,7 @@
<section class="comments" id="comments"> <section class="comments" id="comments">
<h2 class="panel">{{ _("Comments") }}</h2> <h2 class="panel">{{ _("Comments") }}</h2>
<section id="isso-thread" <section id="isso-thread"
data-isso-id="{{ ablog.page_url(pagename) }}{% if not ablog.page_url(pagename) or ablog.page_url(pagename).endswith('/') %}index{% endif %}{{ file_suffix }}" data-isso-id="{{ pagename }}"
data-title="{{ title }}" data-title="{{ title }}"
></section> ></section>
</section> </section>