summaryrefslogtreecommitdiffstats
path: root/publishconf.py
diff options
context:
space:
mode:
authorAudric Schiltknecht <storm@chemicalstorm.org>2014-05-08 18:53:25 +0200
committerAudric Schiltknecht <storm@chemicalstorm.org>2014-06-04 22:31:09 +0200
commitf440edda982fb47ae4ca7df5ad13243d6203f659 (patch)
treefab641dbdf53b63f89f193b9672c85271fdd6bc5 /publishconf.py
parentd81da571c21195144abadde4793f276acb43473b (diff)
downloadschiltknecht.org-f440edda982fb47ae4ca7df5ad13243d6203f659.tar.gz
schiltknecht.org-f440edda982fb47ae4ca7df5ad13243d6203f659.tar.bz2
schiltknecht.org-f440edda982fb47ae4ca7df5ad13243d6203f659.zip
Essaie reécriture du site avec pelican
Suppression des anciens fichiers. Création architecture site pelican. Récupération des contenus statiques.
Diffstat (limited to 'publishconf.py')
-rw-r--r--publishconf.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/publishconf.py b/publishconf.py
new file mode 100644
index 0000000..f920be9
--- /dev/null
+++ b/publishconf.py
@@ -0,0 +1,24 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*- #
+from __future__ import unicode_literals
+
+# This file is only used if you use `make publish` or
+# explicitly specify it as your config file.
+
+import os
+import sys
+sys.path.append(os.curdir)
+from pelicanconf import *
+
+SITEURL = 'http://www.schiltknecht.fr'
+RELATIVE_URLS = False
+
+FEED_ALL_ATOM = 'feeds/all.atom.xml'
+CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
+
+DELETE_OUTPUT_DIRECTORY = True
+
+# Following items are often useful when publishing
+
+#DISQUS_SITENAME = ""
+#GOOGLE_ANALYTICS = ""