diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2015-03-19 22:42:40 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2015-03-19 22:42:40 +0100 |
commit | e90c342c6b3487840f0b7067fd2ed04678d00db3 (patch) | |
tree | b27c61028e350e85170b5a3b13cf77188c24da4e /publishconf.py | |
parent | 0ad73de1d89956739738716f2d32652ca83164b5 (diff) |
Do not load disqus comment automaticaly
Diffstat (limited to 'publishconf.py')
-rw-r--r-- | publishconf.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/publishconf.py b/publishconf.py index 10a7e59..b224980 100644 --- a/publishconf.py +++ b/publishconf.py @@ -17,3 +17,13 @@ DELETE_OUTPUT_DIRECTORY = True DISQUS_SITENAME='chimrod' #GOOGLE_ANALYTICS = "" + +import sys +import os.path +try: + sys.path.append(os.path.dirname(os.path.abspath(__file__))) + from disqus import * + PLUGINS.append("disqus_static") +except: + pass + |