aboutsummaryrefslogtreecommitdiffstats
path: root/onionconf.py
diff options
context:
space:
mode:
Diffstat (limited to 'onionconf.py')
-rw-r--r--onionconf.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/onionconf.py b/onionconf.py
new file mode 100644
index 0000000..420fcac
--- /dev/null
+++ b/onionconf.py
@@ -0,0 +1,21 @@
+#!/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 *
+
+PLUGINS.append('compressor')
+
+FEED_ALL_ATOM = 'feeds/all.atom.xml'
+TRANSLATION_FEED_ATOM = 'feeds/all-{lang}.atom.xml'
+CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
+
+DELETE_OUTPUT_DIRECTORY = True
+
+LANGS = ['de', 'en', 'es', 'eo']