diff --git a/votai_general_theme/templates/disqus.html b/votai_general_theme/templates/disqus.html new file mode 100644 index 00000000..9bec129d --- /dev/null +++ b/votai_general_theme/templates/disqus.html @@ -0,0 +1,19 @@ +{% load votainteligente_extras %} +{% if 'enabled'|disqus and 'shortname'|disqus %} +
+
+ + + comments powered by Disqus +
+{% endif %} diff --git a/votai_general_theme/templates/elections/candidate_detail.html b/votai_general_theme/templates/elections/candidate_detail.html index fec1a9cf..678abc41 100644 --- a/votai_general_theme/templates/elections/candidate_detail.html +++ b/votai_general_theme/templates/elections/candidate_detail.html @@ -145,25 +145,7 @@

{% trans "Cuestionario" %} {% if not candidate.has_answered %}{% no_ha_respo {% endfor %} {% endif %} - - {% if 'enabled'|disqus and 'shortname'|disqus %} -
-
- - - comments powered by Disqus -
- {% endif %} + {% include 'disqus.html' %}