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.
 
 
 
 

90 lines
1.9 KiB

  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. SITELOGO = '/images/logo.png'
  9. # SITESUBTITLE = ''
  10. PATH = 'content'
  11. PAGE_PATHS = ['pages']
  12. ARTICLE_PATHS = ['blog']
  13. STATIC_PATHS = ['images', 'media']
  14. EXTRA_PATH_METADATA = {
  15. 'images/favicon.ico': {'path': 'favicon.ico'}
  16. }
  17. TIMEZONE = 'Europe/Rome'
  18. DEFAULT_LANG = u'it'
  19. DEFAULT_PAGINATION = 3
  20. DEFAULT_DATE = 'fs'
  21. DEFAULT_DATE_FORMAT = '%d %B %Y'
  22. RSS_FEED_SUMMARY_ONLY = True
  23. # Feed generation is usually not desired when developing
  24. FEED_ALL_ATOM = None
  25. FEED_ALL_RSS = None
  26. CATEGORY_FEED_ATOM = None
  27. TRANSLATION_FEED_ATOM = None
  28. AUTHOR_FEED_ATOM = None
  29. AUTHOR_FEED_RSS = None
  30. PLUGIN_PATHS = ['plugins/']
  31. PLUGINS = ['events']
  32. PLUGIN_EVENTS = {
  33. 'ics_fname': 'calendar.ics',
  34. }
  35. LINKS = None
  36. SOCIAL = None
  37. DEFAULT_PAGINATION = False
  38. DEFAULT_METADATA = {'unit hacklab': 'This is a Game Planet'}
  39. # Uncomment following line if you want document-relative URLs when developing
  40. # RELATIVE_URLS = True
  41. MARKDOWN = {
  42. 'extension_configs': {
  43. 'markdown.extensions.codehilite': {'css_class': 'highlight'},
  44. 'markdown.extensions.extra': {},
  45. 'markdown.extensions.meta': {},
  46. },
  47. 'output_format': 'html5',
  48. }
  49. WITH_FUTURE_DATES = False
  50. THEME = 'themes/2017'
  51. SLUGIFY_SOURCE = 'title'
  52. PAGE_URL = '{slug}/index.html'
  53. PAGE_SAVE_AS = '{slug}/index.html'
  54. ARTICLE_URL = 'blog/{slug}.html'
  55. ARTICLE_SAVE_AS = 'blog/{slug}.html'
  56. INDEX_SAVE_AS = 'articles.html'
  57. USE_FOLDER_AS_CATEGORY = True
  58. DISPLAY_PAGES_ON_MENU = False
  59. DISPLAY_CATEGORIES_ON_MENU = False
  60. DELETE_OUTPUT_DIRECTORY = True
  61. MENUITEMS = (('HOME', '/index.html'),
  62. ('NEWS', '/articles.html'),
  63. ('CATEGORIE', '/categories.html'),
  64. ('TAG', '/tags.html'),
  65. ('CONTATTI', '/contatti'),
  66. ('RSS', '/feed.xml'),)