pelicanconf.py 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. # PAGE_BACKGROUND = 'images/background.jpg'
  38. THEME = 'themes/hackit0x14/'
  39. FONT_URL = 'theme/css/anaheim.css'
  40. # Custom css by sticazzi.
  41. CUSTOM_CSS = 'theme/css/hackit.css'
  42. EXTRA_PATH_METADATA = {
  43. # 'extra/main.css': {'path': 'themes/pelican-bootstrap3/static/css/main.css' },
  44. 'extra/favicon.png': {'path': 'images/favicon.png'}
  45. }
  46. # Pelican bootstrap 3 theme settings
  47. BOOTSTRAP_THEME = 'darkly'
  48. HIDE_SIDEBAR = True
  49. PLUGIN_PATHS = ['plugins']
  50. PLUGINS = ['langmenu', 'talks', 'tipue_search']
  51. MD_EXTENSIONS = ['toc']
  52. #TALKS = {
  53. # u'1': { u'Speaker' : u'',
  54. # u'Title': u'',
  55. # u'Abstract': u'',
  56. # u'Room': u'',
  57. # u'Schedule': u'',
  58. # u'Day':'',
  59. # }
  60. #}