diff --git a/sphinx_nervproject_theme/layout.html b/sphinx_nervproject_theme/layout.html index 576e11d..12dc45d 100644 --- a/sphinx_nervproject_theme/layout.html +++ b/sphinx_nervproject_theme/layout.html @@ -12,8 +12,26 @@ + {% if theme_isso %} + + {% endif %} {%- for css in css_files %} {%- if css|attr("rel") %} diff --git a/sphinx_nervproject_theme/page.html b/sphinx_nervproject_theme/page.html index cadf5f4..a553080 100644 --- a/sphinx_nervproject_theme/page.html +++ b/sphinx_nervproject_theme/page.html @@ -35,7 +35,13 @@ ((pagename in ablog and (ablog[pagename].published or ablog.disqus_drafts)) or (not pagename in ablog and ablog.disqus_pages)) %} - {% include "util/isso.html" %} +
+

{{ _("Comments") }}

+
+
{% endif %} {% endblock %} diff --git a/sphinx_nervproject_theme/util/isso.html b/sphinx_nervproject_theme/util/isso.html deleted file mode 100644 index bfb990d..0000000 --- a/sphinx_nervproject_theme/util/isso.html +++ /dev/null @@ -1,25 +0,0 @@ -{% if theme_isso %} - -
-

{{ _("Comments") }}

-
-
-{% endif %}