sito-hackit-18/pelicanconf.py

79 lines
1.9 KiB
Python
Raw Normal View History

2018-04-12 19:05:28 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Hackmeeting'
SITENAME = u'Hackmeeting 0x15'
CC_LICENSE = 'by-nc-sa'
SITEURL = 'https://hackmeeting.org/hackit18/'
PATH = 'content'
PAGE_PATHS = ['pages']
ARTICLE_PATHS = ['news']
STATIC_PATHS = ['images', 'talks', 'extra']
2018-04-12 21:06:27 +02:00
DIRECT_TEMPLATES = ('search',) # tipue search
2018-04-12 19:05:28 +02:00
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'it'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = None
# Social widget
SOCIAL = None
DEFAULT_PAGINATION = 10
USE_OPEN_GRAPH = False # COL CAZZO
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
DEFAULT_DATE = (2016, 3, 1)
TYPOGRIFY = True
PAGE_ORDER_BY = 'navbar_sort'
PAGE_URL = '{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
PAGE_LANG_URL = '{slug}.{lang}.html'
PAGE_LANG_SAVE_AS = '{slug}.{lang}.html'
INDEX_SAVE_AS = 'articles.html'
2018-06-04 18:03:07 +02:00
BANNER= True
BANNER_ALL_PAGES= True
2018-06-14 13:15:43 +02:00
SITELOGO="logo/logo.png"
2018-04-12 19:05:28 +02:00
# PAGE_BACKGROUND = 'images/background.jpg'
2018-06-04 16:47:41 +02:00
THEME = 'themes/hackit0x15/'
2018-04-12 19:05:28 +02:00
FONT_URL = 'theme/css/anaheim.css'
# Custom css by sticazzi.
2018-06-13 12:14:05 +02:00
CUSTOM_CSS = 'theme/css/hackit.css'
2018-04-12 19:05:28 +02:00
EXTRA_PATH_METADATA = {
# 'extra/main.css': {'path': 'themes/pelican-bootstrap3/static/css/main.css' },
2018-06-13 12:14:05 +02:00
'extra/favicon.png': {'path': 'images/favicon.png'},
2018-06-13 13:53:34 +02:00
'images/locandina.jpg': {'path': 'images/locandina.jpg'},
2018-04-12 19:05:28 +02:00
}
# Pelican bootstrap 3 theme settings
BOOTSTRAP_THEME = 'darkly'
2018-06-04 18:03:07 +02:00
HIDE_SITENAME = True
2018-04-12 19:05:28 +02:00
HIDE_SIDEBAR = True
PLUGIN_PATHS = ['plugins']
2018-04-12 21:06:27 +02:00
PLUGINS = ['langmenu', 'talks', 'tipue_search']
2018-04-12 19:05:28 +02:00
MD_EXTENSIONS = ['toc']
#TALKS = {
# u'1': { u'Speaker' : u'',
# u'Title': u'',
# u'Abstract': u'',
# u'Room': u'',
# u'Schedule': u'',
# u'Day':'',
# }
#}