pelicanconf.py 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. SLUGIFY_SOURCE = 'basename'
  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