pelicanconf.py 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. AUTHOR = u'Hackmeeting'
  5. SITENAME = u'Hackmeeting 0x15'
  6. CC_LICENSE = 'by-nc-sa'
  7. SITEURL = 'https://hackmeeting.org/hackit18/'
  8. PATH = 'content'
  9. PAGE_PATHS = ['pages']
  10. ARTICLE_PATHS = ['news']
  11. STATIC_PATHS = ['images', 'talks', 'extra']
  12. DIRECT_TEMPLATES = ('search',) # tipue search
  13. TIMEZONE = 'Europe/Paris'
  14. DEFAULT_LANG = u'it'
  15. # Feed generation is usually not desired when developing
  16. FEED_ALL_ATOM = None
  17. CATEGORY_FEED_ATOM = None
  18. TRANSLATION_FEED_ATOM = None
  19. AUTHOR_FEED_ATOM = None
  20. AUTHOR_FEED_RSS = None
  21. # Blogroll
  22. LINKS = None
  23. # Social widget
  24. SOCIAL = None
  25. DEFAULT_PAGINATION = 10
  26. USE_OPEN_GRAPH = False # COL CAZZO
  27. # Uncomment following line if you want document-relative URLs when developing
  28. # RELATIVE_URLS = True
  29. DEFAULT_DATE = (2016, 3, 1)
  30. TYPOGRIFY = True
  31. PAGE_ORDER_BY = 'navbar_sort'
  32. PAGE_URL = '{slug}.html'
  33. PAGE_SAVE_AS = '{slug}.html'
  34. PAGE_LANG_URL = '{slug}.{lang}.html'
  35. PAGE_LANG_SAVE_AS = '{slug}.{lang}.html'
  36. INDEX_SAVE_AS = 'articles.html'
  37. BANNER= True
  38. BANNER_ALL_PAGES= True
  39. SITELOGO="logo/logo0x15.png"
  40. # PAGE_BACKGROUND = 'images/background.jpg'
  41. THEME = 'themes/hackit0x15/'
  42. FONT_URL = 'theme/css/anaheim.css'
  43. # Custom css by sticazzi.
  44. CUSTOM_CSS = 'theme/css/hackit.css'
  45. EXTRA_PATH_METADATA = {
  46. # 'extra/main.css': {'path': 'themes/pelican-bootstrap3/static/css/main.css' },
  47. 'extra/favicon.png': {'path': 'images/favicon.png'}
  48. }
  49. # Pelican bootstrap 3 theme settings
  50. BOOTSTRAP_THEME = 'darkly'
  51. HIDE_SITENAME = True
  52. HIDE_SIDEBAR = True
  53. PLUGIN_PATHS = ['plugins']
  54. PLUGINS = ['langmenu', 'talks', 'tipue_search']
  55. MD_EXTENSIONS = ['toc']
  56. #TALKS = {
  57. # u'1': { u'Speaker' : u'',
  58. # u'Title': u'',
  59. # u'Abstract': u'',
  60. # u'Room': u'',
  61. # u'Schedule': u'',
  62. # u'Day':'',
  63. # }
  64. #}