Pelican-Blog-freibier.cc/pelicanconf.py

47 lines
989 B
Python
Raw Permalink Normal View History

2020-12-19 23:59:44 +01:00
#!/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'
2020-12-20 13:26:33 +01:00
STATIC_PATHS = ['img']
2020-12-19 23:59:44 +01:00
TIMEZONE = 'Europe/Berlin'
2020-12-19 23:59:44 +01:00
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 = [
2021-01-02 12:57:51 +01:00
'tag_cloud',
2020-12-19 23:59:44 +01:00
]
2020-12-20 00:35:36 +01:00
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'