pelicanconf.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. PATH = 'content'
  8. TIMEZONE = 'America/Chicago'
  9. DEFAULT_LANG = 'en'
  10. THEME = 'elegant'
  11. PLUGIN_PATHS = ['plugins']
  12. PLUGINS = ['sitemap', 'extract_toc', 'tipue_search']
  13. # MD_EXTENSIONS = ['codehilite(css_class=highlight)', 'extra', 'headerid', 'toc']
  14. DIRECT_TEMPLATES = (('index', 'tags', 'categories', '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. SITEMAP = {'format': 'txt'}
  21. DEFAULT_DATE = 'fs' # filesystem date
  22. # MARKDOWN = {
  23. # 'extension_configs': {
  24. # 'markdown.extensions.codehilite': {'css_class': 'highlight'},
  25. # 'markdown.extensions.extra': {},
  26. # 'markdown.extensions.meta': {},
  27. # 'markdown.extensions.headerid': {},
  28. # 'markdown.extensions.toc': {},
  29. # },
  30. # 'output_format': 'html5',
  31. # }
  32. # Feed generation is usually not desired when developing
  33. # FEED_ALL_ATOM = None
  34. # CATEGORY_FEED_ATOM = None
  35. # TRANSLATION_FEED_ATOM = None
  36. # AUTHOR_FEED_ATOM = None
  37. # AUTHOR_FEED_RSS = None
  38. # Blogroll
  39. # LINKS = (('Pelican', 'http://getpelican.com/'),
  40. # ('Python.org', 'http://python.org/'),
  41. # ('Jinja2', 'http://jinja.pocoo.org/'),
  42. # ('You can modify those links in your config file', '#'),)
  43. # Social widget
  44. # SOCIAL = (('You can add links in your config file', '#'),
  45. # ('Another social link', '#'),)
  46. DEFAULT_PAGINATION = 10
  47. # Uncomment following line if you want document-relative URLs when developing
  48. RELATIVE_URLS = True