attentionspanhistory/pelicanconf.py

58 lines
1.7 KiB
Python
Raw Permalink Normal View History

2021-08-06 08:17:33 -07:00
#!/usr/bin/env python3
2021-07-28 04:27:03 -07:00
# -*- coding: utf-8 -*- #
2021-08-06 08:17:33 -07:00
from __future__ import unicode_literals
2021-07-28 04:27:03 -07:00
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'
2021-08-06 08:17:33 -07:00
PLUGIN_PATHS = ["plugins"]
PLUGINS = ['neighbors', 'tipue_search']
TIPUE_SEARCH = True
TEMPLATE_PAGES = {
'search.html': 'search.html',
}
2021-07-28 04:27:03 -07:00
# 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'),)
2021-08-06 08:17:33 -07:00
MENUITEMS = (('RSS', 'feeds/all.rss.xml'),
('Tags', '/tags.html'),
('Twitter', 'https://twitter.com/boringtrent'),
('Github', 'https://github.com/TrentSPalmer'),
2021-08-06 08:17:33 -07:00
('Search', '/search.html'),
2021-07-29 02:43:54 -07:00
('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'),)
2021-08-06 08:17:33 -07:00
DEFAULT_PAGINATION = 20
2021-07-28 04:27:03 -07:00
# Uncomment following line if you want document-relative URLs when developing
2021-07-28 23:00:23 -07:00
# RELATIVE_URLS = True
2021-07-28 04:27:03 -07:00
2021-08-06 08:17:33 -07:00
THEME = 'themes/simple'
2021-08-06 08:17:33 -07:00
# SUMMARY_MAX_LENGTH = 30