|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
sys.path.append(os.curdir)
|
|
|
|
import pelican
|
|
|
|
|
|
|
|
AUTHOR = "LEdoian"
|
|
|
|
SITENAME = "LEdoian's Blog"
|
|
|
|
SITE_DESCRIPTION = "My personal webpage" # NOTE: Theme-specific
|
|
|
|
|
|
|
|
SITEURL = 'https://blog.ledoian.cz/'
|
|
|
|
RELATIVE_URLS = True
|
|
|
|
|
|
|
|
PATH = 'content'
|
|
|
|
THEME = 'test-theme'
|
|
|
|
JINJA_ENVIRONMENT = {
|
|
|
|
# The default:
|
|
|
|
'trim_blocks': True,
|
|
|
|
'lstrip_blocks': True,
|
|
|
|
|
|
|
|
# Custom
|
|
|
|
'keep_trailing_newline': True,
|
|
|
|
}
|
|
|
|
|
|
|
|
PLUGINS = ['plugins.pelicanversion']
|
|
|
|
|
|
|
|
TIMEZONE = 'Europe/Prague'
|
|
|
|
|
|
|
|
DEFAULT_LANG = 'en'
|
|
|
|
|
|
|
|
# Feed generation is usually not desired when developing
|
|
|
|
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
|
|
|
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
|
|
|
|
TRANSLATION_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_RSS = None
|
|
|
|
|
|
|
|
|
|
|
|
DEFAULT_PAGINATION = False
|
|
|
|
|
|
|
|
|
|
|
|
DELETE_OUTPUT_DIRECTORY = True
|
|
|
|
|
|
|
|
# I am the only author, so no author page
|
|
|
|
# Also no index, as that is already a page…
|
|
|
|
AUTHOR_SAVE_AS = ''
|
|
|
|
DIRECT_TEMPLATES = ['categories', 'tags', 'archives']
|
|
|
|
|
|
|
|
STATIC_PATHS = [
|
|
|
|
'images',
|
|
|
|
'static',
|
|
|
|
]
|