Skip to content

Commit 2ee52a8

Browse files
committed
Fara disquss deocamdata. Ref #15.
1 parent ae60b7d commit 2ee52a8

File tree

3 files changed

+3
-24
lines changed

3 files changed

+3
-24
lines changed

ghpsettings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
RELATIVE_URLS = False
99
REAL_SITEURL = SITEURL = 'http://ropython.org'
1010
ASSET_DEBUG = False
11+
DISQUS_SITENAME = ''
1112
GOOGLE_ANALYTICS_ACCOUNT = 'UA-63604601-1'
1213
GOOGLE_ANALYTICS_DOMAIN = 'ropython.org'
1314
#####################

publishconf.py

Lines changed: 0 additions & 24 deletions
This file was deleted.

theme/templates/disqus.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
{% if DISQUS_SITENAME %}
12
<div id="disqus_thread"></div>
23
<script type="text/javascript">
34
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
@@ -14,3 +15,4 @@
1415
</script>
1516
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
1617
<a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
18+
{% endif %}

0 commit comments

Comments
 (0)