Pelican-Blog-freibier.cc/pelicanconf.py
2021-01-02 12:57:51 +01:00

47 lines
988 B
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'freibier.cc'
SITENAME = 'freibier.cc - Blog'
SITEURL = 'https://freibier.cc/blog'
PATH = 'content'
STATIC_PATHS = ['img']
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = 'de'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
# 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 = 'themes/freibier'
PLUGIN_PATHS = ['plugins/', ]
PLUGINS = [
'tag_cloud',
]
ARTICLE_URL = '{date:%Y}/{date:%m}/{slug}.html'
ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{slug}.html'
PAGE_URL = 'pages/{slug}/'
PAGE_SAVE_AS = 'pages/{slug}/index.html'