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.
 
 
 
 

77 lines
1.7 KiB

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Unit'
SITENAME = u'unit'
# SITEURL = 'https://unit.abbiamoundominio.org'
SITEURL = ''
SITELOGO = '/images/logo.png'
# SITESUBTITLE = ''
PATH = 'content'
PAGE_PATHS = ['pages']
ARTICLE_PATHS = ['blog']
STATIC_PATHS = ['images', 'media']
TIMEZONE = 'Europe/Rome'
DEFAULT_LANG = u'it'
DEFAULT_PAGINATION = 3
DEFAULT_DATE = 'fs'
DEFAULT_DATE_FORMAT = '%d %B %Y'
RSS_FEED_SUMMARY_ONLY = True
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
FEED_ALL_RSS = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
LINKS = None
SOCIAL = None
DEFAULT_PAGINATION = False
DEFAULT_METADATA = {'unit hacklab': 'This is a Game Planet'}
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
MARKDOWN = {
'extension_configs': {
'markdown.extensions.codehilite': {'css_class': 'highlight'},
'markdown.extensions.extra': {},
'markdown.extensions.meta': {},
},
'output_format': 'html5',
}
WITH_FUTURE_DATES = False
THEME = 'themes/minimo'
PAGE_URL = '{slug}/index.html'
PAGE_SAVE_AS = '{slug}/index.html'
ARTICLE_URL = 'blog/{date:%Y-%m-%d}-{slug}.html'
ARTICLE_SAVE_AS = 'blog/{date:%Y-%m-%d}-{slug}.html'
INDEX_SAVE_AS = 'articles.html'
USE_FOLDER_AS_CATEGORY = True
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
DELETE_OUTPUT_DIRECTORY = True
MENUITEMS = (('HOME |', '/index.html'),
('NEWS |', '/articles.html'),
('CATEGORIE |', '/categories.html'),
('TAG |', '/tags.html'),
('CONTATTI |', '/contatti'),
('RSS', '/feeds/all.atom.xml'),)