onionconf.py 494 B

12345678910111213141516171819202122
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. # This file is only used if you use `make publish` or
  5. # explicitly specify it as your config file.
  6. import os
  7. import sys
  8. sys.path.append(os.curdir)
  9. from pelicanconf import *
  10. PLUGINS.append('compressor')
  11. FEED_ALL_ATOM = 'feeds/all.atom.xml'
  12. TRANSLATION_FEED_ATOM = 'feeds/all-{lang}.atom.xml'
  13. CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
  14. DELETE_OUTPUT_DIRECTORY = True
  15. LANGS = ['de', 'en', 'es', 'eo']