pelicanconf.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. AUTHOR = 'Koz Ross'
  5. SITENAME = 'Retro-Freedom'
  6. SITEURL = 'https://retro-freedom.nz'
  7. #SITEURL = ''
  8. PATH = 'content'
  9. OUTPUT_PATH = 'public'
  10. TIMEZONE = 'Pacific/Auckland'
  11. DEFAULT_LANG = 'en'
  12. THEME = 'theme'
  13. # Images
  14. STATIC_PATHS = ['images']
  15. # Markdown goodies
  16. MARKDOWN = {
  17. 'extension_configs': {
  18. 'markdown.extensions.codehilite': {'css_class': 'highlight'},
  19. 'markdown.extensions.extra': {},
  20. 'markdown.extensions.meta': {},
  21. 'subscript': {}
  22. },
  23. 'output_format': 'html5'
  24. }
  25. # Feed
  26. FEED_DOMAIN = SITEURL
  27. FEED_ALL_RSS = 'rss.xml'
  28. FEED_ALL_ATOM = None
  29. AUTHOR_FEED_ATOM = None
  30. AUTHOR_FEED_RSS = None
  31. CATEGORY_FEED_ATOM = None
  32. CATEGORY_FEED_RSS = None
  33. TRANSLATION_FEED_RSS = None
  34. TRANSLATION_FEED_ATOM = None
  35. TAG_FEED_ATOM = None
  36. TAG_FEED_RSS = None
  37. RSS_FEED_SUMMARY_ONLY = False
  38. DEFAULT_PAGINATION = 10
  39. AUTHORS_SAVE_AS = ''
  40. AUTHOR_SAVE_AS = ''
  41. INDEX_SAVE_AS = '' # Using the landing page instead
  42. # Uncomment following line if you want document-relative URLs when developing
  43. RELATIVE_URLS = True