You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

publishconf.py 588B

7 years ago
7 years ago
123456789101112131415161718192021222324252627
  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. SITEURL = 'https://github.com/KaiSD/ogs-site'
  11. TIMEZONE = 'Europe/Moscow'
  12. RELATIVE_URLS = False
  13. FEED_ALL_ATOM = 'feeds/all.atom.xml'
  14. CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
  15. DELETE_OUTPUT_DIRECTORY = True
  16. # Following items are often useful when publishing
  17. #DISQUS_SITENAME = ""
  18. #GOOGLE_ANALYTICS = ""
  19. OUTPUT_PATH = '..'