pelicanconf.py 940 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. import logging
  5. AUTHOR = 'Caleb Fangmeier'
  6. SITENAME = "Caleb Fangmeier's Doctoral Thesis"
  7. SITEURL = 'thesis.fangmeier.tech'
  8. TIMEZONE = 'America/Chicago'
  9. DEFAULT_LANG = 'en'
  10. THEME = 'elegant'
  11. PLUGIN_PATHS = ['plugins']
  12. PLUGINS = ['sitemap', 'extract_toc', 'tipue_search']
  13. DIRECT_TEMPLATES = (('index', 'tags', 'categories',
  14. 'archives', 'search', '404'))
  15. STATIC_PATHS = ['theme/images', 'images', 'figures']
  16. TAG_SAVE_AS = ''
  17. CATEGORY_SAVE_AS = ''
  18. AUTHOR_SAVE_AS = ''
  19. IGNORE_FILES = ['.#*', '*.md', 'chapter.html']
  20. SLUGIFY_SOURCE = 'basename'
  21. DRAFT = False
  22. SITEMAP = {'format': 'txt'}
  23. DEFAULT_DATE = 'fs' # filesystem date
  24. LOG_FILTER = [
  25. (logging.WARN, 'Empty alt attribute for image %s in %s'),
  26. ]
  27. DEFAULT_PAGINATION = 10
  28. # Uncomment following line if you want document-relative URLs when developing
  29. RELATIVE_URLS = True