pelicanconf.py 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. AUTHOR = 'Caleb Fangmeier'
  5. SITENAME = "Caleb Fangmeier's Doctoral Thesis"
  6. SITEURL = 'thesis.fangmeier.tech'
  7. TIMEZONE = 'America/Chicago'
  8. DEFAULT_LANG = 'en'
  9. THEME = 'elegant'
  10. PLUGIN_PATHS = ['plugins']
  11. PLUGINS = ['sitemap', 'extract_toc', 'tipue_search']
  12. # MD_EXTENSIONS = ['codehilite(css_class=highlight)', 'extra', 'headerid', 'toc']
  13. DIRECT_TEMPLATES = (('index', 'tags', 'categories', 'archives', 'search', '404'))
  14. STATIC_PATHS = ['theme/images', 'images', 'figures']
  15. TAG_SAVE_AS = ''
  16. CATEGORY_SAVE_AS = ''
  17. AUTHOR_SAVE_AS = ''
  18. IGNORE_FILES = ['.#*', '*.md', 'chapter.html']
  19. SITEMAP = {'format': 'txt'}
  20. DEFAULT_DATE = 'fs' # filesystem date
  21. # MARKDOWN = {
  22. # 'extension_configs': {
  23. # 'markdown.extensions.codehilite': {'css_class': 'highlight'},
  24. # 'markdown.extensions.extra': {},
  25. # 'markdown.extensions.meta': {},
  26. # 'markdown.extensions.headerid': {},
  27. # 'markdown.extensions.toc': {},
  28. # },
  29. # 'output_format': 'html5',
  30. # }
  31. # Feed generation is usually not desired when developing
  32. # FEED_ALL_ATOM = None
  33. # CATEGORY_FEED_ATOM = None
  34. # TRANSLATION_FEED_ATOM = None
  35. # AUTHOR_FEED_ATOM = None
  36. # AUTHOR_FEED_RSS = None
  37. # Blogroll
  38. # LINKS = (('Pelican', 'http://getpelican.com/'),
  39. # ('Python.org', 'http://python.org/'),
  40. # ('Jinja2', 'http://jinja.pocoo.org/'),
  41. # ('You can modify those links in your config file', '#'),)
  42. # Social widget
  43. # SOCIAL = (('You can add links in your config file', '#'),
  44. # ('Another social link', '#'),)
  45. DEFAULT_PAGINATION = 10
  46. # Uncomment following line if you want document-relative URLs when developing
  47. RELATIVE_URLS = True