nuovo sito fatto con pelican
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.7KB

  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*- #
  3. from __future__ import unicode_literals
  4. AUTHOR = u'Unit'
  5. SITENAME = u'unit'
  6. # SITEURL = 'https://unit.abbiamoundominio.org'
  7. SITEURL = ''
  8. # SITESUBTITLE = ''
  9. PATH = 'content'
  10. PAGE_PATHS = ['pages']
  11. ARTICLE_PATHS = ['blog']
  12. STATIC_PATHS = ['images', 'media']
  13. TIMEZONE = 'Europe/Rome'
  14. DEFAULT_LANG = u'it'
  15. DEFAULT_PAGINATION = 3
  16. DEFAULT_DATE = 'fs'
  17. DEFAULT_DATE_FORMAT = '%d %B %Y'
  18. RSS_FEED_SUMMARY_ONLY = True
  19. # Feed generation is usually not desired when developing
  20. FEED_ALL_ATOM = None
  21. FEED_ALL_RSS = None
  22. CATEGORY_FEED_ATOM = None
  23. TRANSLATION_FEED_ATOM = None
  24. AUTHOR_FEED_ATOM = None
  25. AUTHOR_FEED_RSS = None
  26. LINKS = None
  27. SOCIAL = None
  28. DEFAULT_PAGINATION = False
  29. DEFAULT_METADATA = {'unit hacklab': 'This is a Game Planet'}
  30. # Uncomment following line if you want document-relative URLs when developing
  31. # RELATIVE_URLS = True
  32. MARKDOWN = {
  33. 'extension_configs': {
  34. 'markdown.extensions.codehilite': {'css_class': 'highlight'},
  35. 'markdown.extensions.extra': {},
  36. 'markdown.extensions.meta': {},
  37. },
  38. 'output_format': 'html5',
  39. }
  40. WITH_FUTURE_DATES = False
  41. THEME = 'themes/minimo'
  42. PAGE_URL = '{slug}.html'
  43. PAGE_SAVE_AS = '{slug}.html'
  44. ARTICLE_URL = 'blog/{date:%Y-%m-%d}-{slug}.html'
  45. ARTICLE_SAVE_AS = 'blog/{date:%Y-%m-%d}-{slug}.html'
  46. INDEX_SAVE_AS = 'articles.html'
  47. USE_FOLDER_AS_CATEGORY = True
  48. DISPLAY_PAGES_ON_MENU = False
  49. DISPLAY_CATEGORIES_ON_MENU = False
  50. MENUITEMS = (('HOME |', 'index.html'),
  51. ('NEWS |', 'articles.html'),
  52. ('CATEGORIE |', 'categories.html'),
  53. ('TAG |', 'tags.html'),
  54. ('CONTATTI |', 'contatti.html'),
  55. ('RSS', 'feeds/all.atom.xml'),)