-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
75 lines (53 loc) · 1.64 KB
/
pelicanconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'iterate GmbH'
SITENAME = u'duck'
SITEURL = 'https://duck.sh'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'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
# Blogroll
LINKS = ()
# Social widget
SOCIAL = ()
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
# Specify a customized theme, via path relative to the settings file
THEME = "themes/bootstrap"
THEME_STATIC_DIR = '.'
THEME_STATIC_PATHS = ['static']
CSS_FILE = 'style.css'
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html'
PAGE_LANG_URL = '{slug}'
PAGE_LANG_SAVE_AS = '{slug}/index.{lang}.html'
# No category page
CATEGORY_SAVE_AS = ''
TAG_SAVE_AS = ''
AUTHOR_SAVE_AS = ''
DIRECT_TEMPLATES = ()
# DIRECT_TEMPLATES, which are ('index', 'tags', 'categories', 'archives') by default, work a bit differently
# than noted above. Only the _SAVE_AS settings are available
ARCHIVES_SAVE_AS = ''
AUTHORS_SAVE_AS = ''
CATEGORIES_SAVE_AS = ''
TAGS_SAVE_AS = ''
# The static paths you want to have accessible on the output path “static”. By default, Pelican will
# copy the “images” folder to the output folder. copied without parsing their contents.
STATIC_PATHS = ['images', 'robots.txt', 'favicon.ico']
TYPOGRIFY = False
TWITTER_USERNAME = 'cyberduckapp'
GOOGLE_ANALYTICS = 'UA-3203018-8'
PLUGINS = [
'minify'
]
from datetime import date
CURRENTYEAR = date.today().year