pelicanconf.py 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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 = None
  11. CATEGORY_FEED_ATOM = None
  12. TRANSLATION_FEED_ATOM = None
  13. # Blogroll
  14. LINKS = (('Libreflix', 'http://libreflix.org/'),
  15. ('Código-fonte', 'http://notabug.org/libreflix'),)
  16. # Social widget
  17. SOCIAL = (('Twitter', 'https://twitter.com/libreflix'),
  18. ('Instagram', 'https://instagram.com/libreflix'),
  19. ('Facebook', 'https://facebook.com/libreflix'),)
  20. DEFAULT_PAGINATION = 10
  21. # Uncomment following line if you want document-relative URLs when developing
  22. #RELATIVE_URLS = True
  23. THEME = "/home/guilmour/gits/blog_libreflix/themes/tuxlite_tbs"
  24. MENUITEMS = (
  25. ('Início', '/'),
  26. ('Lançamentos', '/c/lancamentos.html'), #/c/lancamentos.html
  27. ('Sessões', '/p/construcao.html'), #/c/sessoes.html
  28. ('Rabiscos', '/c/rabiscos.html'),
  29. ('Arquivo', '/archives.html'),
  30. ('Voluntariado', '/p/construcao.html'), #/p/voluntariado.html
  31. ('Na Mídia', '/p/na-midia.html'),
  32. ('FAQ', '/p/construcao.html'), #/p/faq.html
  33. ('Voltar ao Libreflix →', 'https://libreflix.org'),
  34. )
  35. CATEGORY_SAVE_AS = 'c/{slug}.html'
  36. CATEGORY_URL = 'c/{slug}.html'
  37. PAGES_URL = 'p/{slug}.html'
  38. PAGE_SAVE_AS = 'p/{slug}.html'