Pelican-Blog-freibier.cc/pelicanconf.py

46 lines
964 B
Python
Raw 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'
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 = [
'lightbox',
]
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'