From c150b2babdf45432b5ed09518a5e1f7120df9b48 Mon Sep 17 00:00:00 2001 From: "kujiu (@ciredutemps)" Date: Mon, 25 May 2020 13:15:27 +0200 Subject: [PATCH] Fix isso --- sphinx_nervproject_theme/layout.html | 18 ++++++++++++++++++ sphinx_nervproject_theme/page.html | 8 +++++++- sphinx_nervproject_theme/util/isso.html | 25 ------------------------- 3 files changed, 25 insertions(+), 26 deletions(-) delete mode 100644 sphinx_nervproject_theme/util/isso.html 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 %}