Microweb_blog/pelicanconf.py

51 lines
959 B
Python

AUTHOR = 'Kevin Gonzalez'
SITENAME = 'microweb'
SITEURL = ""
PATH = "content"
TIMEZONE = 'Asia/Tokyo'
DEFAULT_LANG = 'fr'
# THEME
THEME = 'microtheme'
# 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", "#"),
)
# Directory for posts
ARTICLE_SAVE_AS = 'posts/{slug}.html'
ARTICLE_URL = 'posts/{slug}.html'
# Static folders
STATIC_PATHS = [
'fonts',
]
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True