pelican quickstart

This commit is contained in:
Paul-Nicolas Madelaine 2023-09-18 14:05:30 +02:00
parent d2ca523358
commit 50ceb37856
4 changed files with 262 additions and 0 deletions

31
pelicanconf.py Normal file
View file

@ -0,0 +1,31 @@
AUTHOR = 'Paul-Nicolas Madelaine'
SITENAME = 'Personal website of Paul-Nicolas Madelaine'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Europe/Paris'
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
# Blogroll
LINKS = (('Pelican', 'https://getpelican.com/'),
('Python.org', 'https://www.python.org/'),
('Jinja2', 'https://palletsprojects.com/p/jinja/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True