48 lines
1.2 KiB
Python
48 lines
1.2 KiB
Python
AUTHOR = 'maxime alves'
|
|
SITENAME = 'mfalves'
|
|
SITEURL = ""
|
|
|
|
PATH = "content"
|
|
|
|
TIMEZONE = 'Europe/Paris'
|
|
|
|
DEFAULT_LANG = 'fr'
|
|
|
|
# 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
|
|
THEME = "./theme"
|
|
THEME_STATIC_PATHS = ['static']
|
|
PLUGIN_PATHS = ['pelican-plugins']
|
|
PLUGINS = ['readtime','search','neighbors','pelican-toc']
|
|
PAGINATED_TEMPLATES = {'index':None,'tag':None,'category':None,'author':None,'archives':24}
|
|
# SEARCH_MODE = "output"
|
|
# SEARCH_HTML_SELECTOR = "main"
|
|
DIRECT_TEMPLATES = (('index','search','tags','categories','archives'))
|
|
STORK_INPUT_OPTIONS = {
|
|
'html_selector': 'main'
|
|
}
|
|
DISPLAY_PAGES_ON_MENU = True
|