sito-hackit-19/pelicanconf.py

75 lines
1.9 KiB
Python
Raw Permalink Normal View History

2019-02-17 23:05:00 +01:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
2019-05-22 11:47:34 +02:00
AUTHOR = "Hackmeeting"
SITENAME = "Hackmeeting 0x16"
CC_LICENSE = "by-nc-sa"
SITEURL = "/hackit19"
2019-02-17 23:05:00 +01:00
2019-05-22 11:47:34 +02:00
PATH = "content"
PAGE_PATHS = ["pages"]
ARTICLE_PATHS = ["news"]
STATIC_PATHS = ["images", "talks", "extra"]
# DIRECT_TEMPLATES = ('search',) # tipue search
2019-02-17 23:05:00 +01:00
2019-05-22 11:47:34 +02:00
TIMEZONE = "Europe/Paris"
2019-02-17 23:05:00 +01:00
2019-05-22 11:47:34 +02:00
DEFAULT_LANG = "it"
2019-02-17 23:05:00 +01:00
# 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
2019-05-22 11:47:34 +02:00
USE_OPEN_GRAPH = False # COL CAZZO
2019-02-17 23:05:00 +01:00
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
2019-02-17 23:05:00 +01:00
DEFAULT_DATE = (2019, 3, 1)
TYPOGRIFY = True
2019-05-22 11:47:34 +02:00
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"
BANNER = True
BANNER_ALL_PAGES = True
SITELOGO = "logo/logo.png"
2019-02-17 23:05:00 +01:00
# PAGE_BACKGROUND = 'images/background.jpg'
# THEME = 'themes/hackit0x15/'
2019-05-22 11:47:34 +02:00
THEME = "themes/hackit0x16/"
FAVICON = "images/cyberrights.png"
FONT_URL = "theme/css/anaheim.css"
2019-02-17 23:05:00 +01:00
# Custom css by sticazzi.
# CUSTOM_CSS = 'theme/css/hackit.css'
2019-02-17 23:05:00 +01:00
EXTRA_PATH_METADATA = {
2019-05-22 11:47:34 +02:00
# 'extra/main.css': {'path': 'themes/pelican-bootstrap3/static/css/main.css' },
"extra/favicon.png": {"path": "images/favicon.png"},
"images/locandina.jpg": {"path": "images/locandina.jpg"},
2019-02-17 23:05:00 +01:00
}
# Pelican bootstrap 3 theme settings
2019-05-22 11:47:34 +02:00
BOOTSTRAP_THEME = "darkly"
2019-02-17 23:05:00 +01:00
HIDE_SITENAME = True
HIDE_SIDEBAR = True
2019-05-22 11:47:34 +02:00
PLUGIN_PATHS = ["plugins"]
PLUGINS = ["langmenu", "talks", "tipue_search"]
2019-02-17 23:05:00 +01:00
# plugin/talks.py
2019-05-22 11:47:34 +02:00
SCHEDULEURL = "https://hackmeeting.org" + SITEURL + "/schedule.html"
TALKS_GRID_STEP = 30
2019-05-22 11:47:34 +02:00
MARKDOWN = {"extension_configs": {"markdown.extensions.toc": {}}}