pelicanconf.py 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. AUTHOR = u'Guilmour Rossi'
  5. SITENAME = u'Libreflix Blog'
  6. SITEURL = ''
  7. TIMEZONE = 'Europe/Paris'
  8. DEFAULT_LANG = u'pt'
  9. # Feed generation is usually not desired when developing
  10. FEED_ALL_ATOM = 'feeds/all.atom.xml'
  11. FEED_ALL_RSS = 'feeds/all.rss.xml'
  12. CATEGORY_FEED_ATOM = None
  13. TRANSLATION_FEED_ATOM = None
  14. # Blogroll
  15. LINKS = (('Libreflix', 'http://libreflix.org/'),
  16. ('Código-fonte', 'http://notabug.org/libreflix'),)
  17. # Social widget
  18. SOCIAL = (('Twitter', 'https://twitter.com/libreflix'),
  19. ('Instagram', 'https://instagram.com/libreflix'),
  20. ('Facebook', 'https://facebook.com/libreflix'),)
  21. DEFAULT_PAGINATION = 10
  22. # Uncomment following line if you want document-relative URLs when developing
  23. #RELATIVE_URLS = True
  24. THEME = "/home/guilmour/gits/blog_libreflix/themes/tuxlite_tbs"
  25. MENUITEMS = (
  26. ('Início', '/'),
  27. ('Lançamentos', '/c/lancamentos.html'), #/c/lancamentos.html
  28. ('Sessões', '/p/construcao.html'), #/c/sessoes.html
  29. ('Rabiscos', '/c/rabiscos.html'),
  30. ('Arquivo', '/archives.html'),
  31. ('Voluntariado', '/p/construcao.html'), #/p/voluntariado.html
  32. ('Na Mídia', '/p/na-midia.html'),
  33. ('FAQ', '/p/construcao.html'), #/p/faq.html
  34. ('Voltar ao Libreflix →', 'https://libreflix.org'),
  35. )
  36. CATEGORY_SAVE_AS = 'c/{slug}.html'
  37. CATEGORY_URL = 'c/{slug}.html'
  38. PAGES_URL = 'p/{slug}.html'
  39. PAGE_SAVE_AS = 'p/{slug}.html'