2
0
mirror of https://github.com/offen/website.git synced 2024-11-23 01:20:29 +01:00
website/pelicanconf.py

57 lines
1.3 KiB
Python
Raw Normal View History

2019-05-21 09:41:23 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
2019-05-24 09:17:16 +02:00
import logging
2019-05-21 09:41:23 +02:00
2019-05-26 21:59:05 +02:00
# If your site is available via HTTPS, make sure SITEURL begins with https://
SITEURL = 'https://www.offen.dev'
RELATIVE_URLS = False
2019-05-21 09:41:23 +02:00
AUTHOR = 'offen'
2019-05-21 23:01:57 +02:00
SITENAME = 'offen'
2019-05-21 09:41:23 +02:00
SITEURL = ''
PATH = 'content'
2019-05-21 23:01:57 +02:00
TIMEZONE = 'Europe/Berlin'
2019-05-21 09:41:23 +02:00
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
2019-05-21 23:01:57 +02:00
# pagination
2019-05-21 09:41:23 +02:00
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
2019-05-21 23:01:57 +02:00
#RELATIVE_URLS = True
2019-05-24 09:17:16 +02:00
# added configs ----------------------------------------------
2019-05-30 22:54:13 +02:00
# THEME = '###'
2019-05-24 09:17:16 +02:00
# Delete the output directory before generating new files.
DELETE_OUTPUT_DIRECTORY = True
# List of templates that are used directly to render content.
2019-05-24 10:24:40 +02:00
# DIRECT_TEMPLATES = ['index','deepdive']
# dont create following standart pages
AUTHORS_SAVE_AS = None
ARCHIVES_SAVE_AS = None
CATEGORIES_SAVE_AS = None
TAGS_SAVE_AS = None
2019-05-24 09:17:16 +02:00
# The static paths you want to have accessible on the output path “static”.
2019-05-30 22:54:13 +02:00
STATIC_PATHS = ['css', 'img', 'fonts']
2019-05-24 09:17:16 +02:00
# The default metadata you want to use for all articles and pages.
DEFAULT_METADATA = {
'description': 'A brief description of your site',
'status': 'draft'
}