pelicanconf.py 925 B

12345678910111213141516171819202122232425262728293031323334353637
  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. SITEMAP = {'format': 'txt'}
  22. DEFAULT_DATE = 'fs' # filesystem date
  23. LOG_FILTER = [
  24. (logging.WARN, 'Empty alt attribute for image %s in %s'),
  25. ]
  26. DEFAULT_PAGINATION = 10
  27. # Uncomment following line if you want document-relative URLs when developing
  28. RELATIVE_URLS = True