pelicanconf.py 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. AUTHOR = 'john melesky'
  2. SITENAME = "john's corner of the web"
  3. SITEURL = ''
  4. PATH = 'content'
  5. ARTICLE_PATHS = ['blog']
  6. ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}.html'
  7. ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}.html'
  8. TIMEZONE = 'US/Pacific'
  9. DEFAULT_LANG = 'en'
  10. THEME = '/home/jmelesky/external_src/pelican-sober'
  11. PLUGINS = ['render_math']
  12. MARKDOWN = {
  13. 'extensions': [
  14. 'markdown_captions',
  15. 'extra',
  16. 'codehilite',
  17. 'meta',
  18. 'sane_lists',
  19. 'smarty',
  20. 'legacy_em',
  21. 'legacy_attrs',
  22. ],
  23. }
  24. # Feed generation is usually not desired when developing
  25. FEED_ALL_ATOM = None
  26. CATEGORY_FEED_ATOM = None
  27. TRANSLATION_FEED_ATOM = None
  28. AUTHOR_FEED_ATOM = None
  29. AUTHOR_FEED_RSS = None
  30. # Blogroll
  31. LINKS = ()
  32. # LINKS = (('Pelican', 'https://getpelican.com/'),
  33. # ('Python.org', 'https://www.python.org/'),
  34. # ('Jinja2', 'https://palletsprojects.com/p/jinja/'),
  35. # ('You can modify those links in your config file', '#'),)
  36. # Social widget
  37. SOCIAL = (('Akkoma', 'https://tinylad.social/jmelesky'),
  38. ('LinkedIn', 'https://www.linkedin.com/in/jmelesky/'),)
  39. DEFAULT_PAGINATION = 10
  40. # Uncomment following line if you want document-relative URLs when developing
  41. #RELATIVE_URLS = True