pelicanconf.py 989 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. AUTHOR = u'gitoyen'
  5. SITENAME = u'Gitoyen'
  6. SITEURL = ''
  7. PATH = 'content'
  8. TIMEZONE = 'Europe/Paris'
  9. DEFAULT_LANG = u'fr'
  10. # Feed generation is usually not desired when developing
  11. FEED_ALL_ATOM = None
  12. CATEGORY_FEED_ATOM = None
  13. TRANSLATION_FEED_ATOM = None
  14. AUTHOR_FEED_ATOM = None
  15. AUTHOR_FEED_RSS = None
  16. # Blogroll
  17. LINKS = (('Pelican', 'http://getpelican.com/'),
  18. ('Python.org', 'http://python.org/'),
  19. ('Jinja2', 'http://jinja.pocoo.org/'),
  20. ('You can modify those links in your config file ', '#'),)
  21. THEME = "theme"
  22. # Social widget
  23. SOCIAL = (('You can add links in your config file', '#'),
  24. ('Another social link', '#'),)
  25. DEFAULT_PAGINATION = 10
  26. ARTICLE_PATHS = ['blog']
  27. ARTICLE_URL = 'blog/{slug}.html'
  28. PAGE_URL = '{slug}.html'
  29. PAGE_SAVE_AS = '{slug}.html'
  30. # Uncomment following line if you want document-relative URLs when developing
  31. #RELATIVE_URLS = True