blog/pelicanconf.py

60 lines
1.4 KiB
Python
Raw Normal View History

2022-10-17 01:59:22 +00:00
AUTHOR = 'Tyrel Souza'
SITENAME = 'Tyrel Site'
2022-10-17 03:02:04 +00:00
TWITTER_USERNAME = 'tyrelsouza'
2022-10-17 03:18:28 +00:00
SITEURL = 'https://tyrel.dev/blog'
2022-10-17 01:59:22 +00:00
SITESUBTITLE = 'Code, Home Automation, Personal Blog'
2022-10-17 04:08:58 +00:00
2022-10-17 01:59:22 +00:00
MENUITEMS = [
2022-10-17 03:18:28 +00:00
('Home', '/blog/'),
('Tags', '/blog/tags.html'),
('Categories', '/blog/categories.html'),
2022-10-17 01:59:22 +00:00
]
2022-10-17 04:08:58 +00:00
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'),
)
2022-10-17 01:59:22 +00:00
PATH = 'content'
TIMEZONE = 'America/New_York'
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
PLUGINS = [ ]
DEFAULT_PAGINATION = 10
DISPLAY_CATEGORIES_ON_MENU = False
DELETE_OUTPUT_DIRECTORY = True
2022-10-17 04:08:58 +00:00
STATIC_PATHS = (
'images',
'_meta',
)
ARTICLE_PATHS = ['blog', ]
ARTICLE_SAVE_AS = '{date:%Y}/{date:%M}/{slug}.html'
ARTICLE_URL = '{date:%Y}/{date:%M}/{slug}.html'
DEFAULT_METADATA = {
'status': 'draft',
'_meta/favicon.ico': {'path': 'favicon.ico'},
}