aboutsummaryrefslogtreecommitdiff
path: root/pelicanconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'pelicanconf.py')
-rwxr-xr-xpelicanconf.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/pelicanconf.py b/pelicanconf.py
index a7030e4..09b4d78 100755
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -63,3 +63,13 @@ DOCUTILS_SETTINGS={
"footnote_references":'superscript',
'strip_comments': 'True'
}
+
+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
+