1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blog/pelicanconf.py

45 lines
817 B
Python

#!/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