diff options
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 + |