From e90c342c6b3487840f0b7067fd2ed04678d00db3 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 19 Mar 2015 22:42:40 +0100 Subject: Do not load disqus comment automaticaly --- publishconf.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'publishconf.py') 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 + -- cgit v1.2.3