blog/pelicanconf.py
2022-10-17 00:54:26 -04:00

64 lines
1.5 KiB
Python

AUTHOR = 'Tyrel Souza'
SITENAME = "Tyrel Souza's Blog"
TWITTER_USERNAME = 'tyrelsouza'
SITEURL = 'https://tyrel.dev/blog'
SITESUBTITLE = 'Code, Tech, Home Automation, Personal Blog'
MENUITEMS = [
('Home', '/blog/'),
('Tags', '/blog/tags.html'),
('Categories', '/blog/categories.html'),
]
LINKS = (
('Code', 'https://gitea.tyrel.dev/'),
('Wiki', 'https://tyrel.website/wiki/'),
('Flying Blog', 'https://k3tas.radio/airband/'),
('Photos', 'https://tyrel.website/photos'),
('LinkedIN', 'https://www.linkedin.com/in/tyrel-souza/'),
)
SOCIAL = (
('Twitter', 'https://www.twitter.com/tyrelsouza'),
('Instagram', 'https://www.instagram.com/tyrelsouza'),
('GoodReads', 'https://www.goodreads.com/user/show/24381583-tyrel-souza'),
)
PATH = 'content'
TIMEZONE = 'America/New_York'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
# FEED_DOMAISITEURL
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
PLUGINS = [ ]
DEFAULT_PAGINATION = 10
DISPLAY_CATEGORIES_ON_MENU = False
DELETE_OUTPUT_DIRECTORY = True
STATIC_PATHS = (
'images',
'extras',
)
ARTICLE_PATHS = ['blog', ]
ARTICLE_SAVE_AS = '{date:%Y}/{date:%M}/{slug}.html'
ARTICLE_URL = '{date:%Y}/{date:%M}/{slug}.html'
YEAR_ARCHIVE_SAVE_AS = 'posts/{date:%Y}/index.html'
MONTH_ARCHIVE_URL = 'posts/{date:%Y}/{date:%M}/index.html'
DEFAULT_METADATA = {
'status': 'draft',
'extras/favicon.ico': {'path': 'favicon.ico'},
}