pelican.conf.py 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. AUTHOR = 'Alexis Métaireau'
  4. SITENAME = "Alexis' log"
  5. SITEURL = 'http://blog.notmyidea.org'
  6. TIMEZONE = "Europe/Paris"
  7. GITHUB_URL = 'http://github.com/ametaireau/'
  8. DISQUS_SITENAME = "blog-notmyidea"
  9. PDF_GENERATOR = False
  10. REVERSE_CATEGORY_ORDER = True
  11. LOCALE = "C"
  12. DEFAULT_PAGINATION = 4
  13. DEFAULT_DATE = (2012, 3, 2, 14, 1, 1)
  14. FEED_ALL_RSS = 'feeds/all.rss.xml'
  15. CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
  16. LINKS = (('Biologeek', 'http://biologeek.org'),
  17. ('Filyb', "http://filyb.info/"),
  18. ('Libert-fr', "http://www.libert-fr.com"),
  19. ('N1k0', "http://prendreuncafe.com/blog/"),
  20. ('Tarek Ziadé', "http://ziade.org/blog"),
  21. ('Zubin Mithra', "http://zubin71.wordpress.com/"),)
  22. SOCIAL = (('twitter', 'http://twitter.com/ametaireau'),
  23. ('lastfm', 'http://lastfm.com/user/akounet'),
  24. ('github', 'http://github.com/ametaireau'),)
  25. # global metadata to all the contents
  26. DEFAULT_METADATA = (('yeah', 'it is'),)
  27. # static paths will be copied under the same name
  28. STATIC_PATHS = ["pictures", ]
  29. # A list of files to copy from the source to the destination
  30. FILES_TO_COPY = (('extra/robots.txt', 'robots.txt'),)
  31. # custom page generated with a jinja2 template
  32. TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}
  33. # foobar will not be used, because it's not in caps. All configuration keys
  34. # have to be in caps
  35. foobar = "barbaz"