We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae60b7d commit 2ee52a8Copy full SHA for 2ee52a8
ghpsettings.py
@@ -8,6 +8,7 @@
8
RELATIVE_URLS = False
9
REAL_SITEURL = SITEURL = 'http://ropython.org'
10
ASSET_DEBUG = False
11
+DISQUS_SITENAME = ''
12
GOOGLE_ANALYTICS_ACCOUNT = 'UA-63604601-1'
13
GOOGLE_ANALYTICS_DOMAIN = 'ropython.org'
14
#####################
publishconf.py
theme/templates/disqus.html
@@ -1,3 +1,4 @@
1
+{% if DISQUS_SITENAME %}
2
<div id="disqus_thread"></div>
3
<script type="text/javascript">
4
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
@@ -14,3 +15,4 @@
15
</script>
16
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
17
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
18
+{% endif %}
0 commit comments