attentionspanhistory/pelicanconf.py

58 lines
1.7 KiB
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Trent Palmer'
SITENAME = 'Attention Span History'
SITEURL = 'https://blog.trentpalmer.org'
PATH = 'content'
TIMEZONE = 'America/Los_Angeles'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = 'feeds/all.atom.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
SOCIAL_WIDGET_NAME = 'follow'
PLUGIN_PATHS = ["plugins"]
PLUGINS = ['neighbors', 'tipue_search']
TIPUE_SEARCH = True
TEMPLATE_PAGES = {
'search.html': 'search.html',
}
# Blogroll
LINKS = (('Doc Blog', 'https://blog.trentsonlinedocs.xyz/'),
('Favorite Podcasts', 'https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/'),
('TrentReads', 'https://trentpalmer.org'),)
# Social widget
SOCIAL = (('twitter', 'https://twitter.com/boringtrent'),
('github', 'https://github.com/TrentSPalmer'),)
MENUITEMS = (('RSS', 'feeds/all.rss.xml'),
('Tags', '/tags.html'),
('Twitter', 'https://twitter.com/boringtrent'),
('Github', 'https://github.com/TrentSPalmer'),
('Search', '/search.html'),
('Source', 'https://github.com/TrentSPalmer/attentionspanhistory'),
('Doc Blog', 'https://blog.trentsonlinedocs.xyz/'),
('Favorite Podcasts', 'https://blog.trentsonlinedocs.xyz/posts/trents-favorite-podcasts/'),
('TrentReads', 'https://trentpalmer.org'),)
DEFAULT_PAGINATION = 20
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
THEME = 'themes/simple'
# SUMMARY_MAX_LENGTH = 30