conference-site/pelicanconf.py

83 lines
2.3 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
# vim:sts=4:sw=4
AUTHOR = 'LibreItalia'
SITENAME = 'LibreItalia Conference'
SITEURL = ''
#SITEURL = 'https://conference.libreitalia.org'
AVATAR = '/images/LibreItalia_LI_shadow.png'
PATH = 'content'
TIMEZONE = 'Europe/Rome'
DEFAULT_LANG = 'it'
PLUGIN_PATHS = [ "plugins", ]
PLUGINS = [ "pelican_alias", ]
STATIC_PATHS = [ 'js', 'images', 'css' ]
EXTRA_PATH_METADATA = {
'images/favicon.ico': { 'path': 'favicon.ico' },
}
GOOGLE_ANALYTICS = False
DEFAULT_PAGINATION = False
PAGE_URL = '{slug}/'
PAGE_SAVE_AS = '{slug}/index.html'
MENUITEMS = (
("2020", "/2020"),
("Programma", "/2020/programma"),
#("Live", "/live"),
#("Chill Room", "https://open.meet.garr.it/libreitaliaconf-chillroom"),
)
PARTNERS = (
('http://www.ils.org/', 'Italian Linux Society', 'https://upload.wikimedia.org/wikipedia/commons/0/0d/Logoilsvettoriale.svg', '50'),
('https://www.garr.it/it/', 'Home | GARR', 'https://www.garr.it/images/logo_medio_garr.png', '150'),
)
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
# Pelican Blue theme
THEME = 'themes/pelican-blue'
DISPLAY_FOOTER = False
# Blue Penguin theme
#THEME = 'themes/blue-penguin'
#DISPLAY_HOME = False
#FOOTER = "Contenuti rilasciati con licenza CC-SA-BY 4.0"
# 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 = (('Pelican', 'https://getpelican.com/'),
# ('Python.org', 'https://www.python.org/'),
# ('Jinja2', 'https://palletsprojects.com/p/jinja/'),
# ('You can modify those links in your config file', '#'),)
# Social widget
#SOCIAL = (('You can add links in your config file', '#'),
# ('Another social link', '#'),)
SOCIAL = (
('fas fa-home', 'https://libreitalia.org'),
('fab fa-twitter', 'http://twitter.com/libreitalia'),
('fab fa-facebook-f', 'http://facebook.com/libreitalia'),
('fab fa-slideshare', 'http://www.slideshare.net/libreitalia'),
('fab fa-youtube', 'http://youtube.com/channel/UCxOY9LbVqShoGyEcl3vNRfQ'),
('fab fa-telegram', 'https://telegram.me/libreitalia'),
)
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True