mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
58 lines
1.6 KiB
Python
58 lines
1.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
AUTHOR = 'Alchemy'
|
|
SITENAME = 'pelican-alchemy'
|
|
SITEURL = '' # Intentionally left blank, see ./publishconf.py
|
|
|
|
PATH = 'content'
|
|
|
|
TIMEZONE = 'Africa/Nairobi'
|
|
DEFAULT_LANG = 'en'
|
|
|
|
# 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
|
|
|
|
ARTICLE_URL = 'posts/{slug}.html'
|
|
ARTICLE_SAVE_AS = ARTICLE_URL
|
|
ARTICLE_LANG_URL = 'posts/{slug}-{lang}.html'
|
|
ARTICLE_LANG_SAVE_AS = ARTICLE_LANG_URL
|
|
|
|
PLUGIN_PATHS = ['plugins']
|
|
PLUGINS = ['pelican-bootstrapify']
|
|
|
|
BOOTSTRAPIFY = {
|
|
'table': ['table', 'table-striped', 'table-hover'],
|
|
'img': ['img-fluid'],
|
|
'blockquote': ['blockquote'],
|
|
}
|
|
|
|
# Theme settings --------------------------------------------------------------
|
|
|
|
THEME = 'themes/pelican-alchemy/alchemy'
|
|
|
|
SITESUBTITLE = 'A magical \u2728 Pelican theme'
|
|
SITEIMAGE = '/images/profile.jpg width=200 height=200'
|
|
DESCRIPTION = 'A functional, clean, responsive theme for Pelican. Heavily ' \
|
|
'inspired by crowsfoot and clean-blog, powered by Bootstrap.'
|
|
|
|
LINKS = (
|
|
('Pelican', 'http://getpelican.com/'),
|
|
('Python.org', 'http://python.org/'),
|
|
('Jinja2', 'http://jinja.pocoo.org/'),
|
|
)
|
|
|
|
ICONS = [
|
|
('github', 'https://github.com/rwanyoike/pelican-alchemy'),
|
|
]
|
|
|
|
# Default value is ['index', 'tags', 'categories', 'authors', 'archives']
|
|
DIRECT_TEMPLATES = ['index', 'tags', 'categories', 'authors', 'archives', 'sitemap']
|
|
SITEMAP_SAVE_AS = 'sitemap.xml'
|
|
|
|
PYGMENTS_STYLE = 'monokai'
|