-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
64 lines (42 loc) · 1.24 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
AUTHOR = u'Laurens'
SITENAME = u'Laurens\' geeky adventures'
SITEURL = 'https://blog.laurens.xyz'
TIMEZONE = 'Europe/Paris'
DEFAULT_DATE_FORMAT = '%d-%m-%Y'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
FEED_ALL_RSS = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
# Blogroll
LINKS = None
HIDE_SIDEBAR = True
BANNER = False
DISPLAY_PAGES_ON_MENU = True
DISPLAY_CATEGORIES_ON_MENU = False
DEFAULT_PAGINATION = 5
TAG_CLOUD_MAX_ITEMS = 10
DISPLAY_TAGS_ON_SIDEBAR = False
THEME = "themes/Bootstrap3"
PYGMENTS_STYLE = "zenburn"
BOOTSTRAP_THEME = 'yeti'
PLUGIN_PATHS = ['plugins']
DIRECT_TEMPLATES = ('index', 'archives', 'search', 'tags')
PLUGINS = ['tipue_search']
DISQUS_SITENAME = 'iilaurens'
#ADDTHIS_PROFILE = 'ra-520d4af6518bf3c7'
STATIC_PATHS = ['images', 'files', 'extra/CNAME']
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'},}
ARTICLE_URL = 'post/{slug}.html'
ARTICLE_SAVE_AS = 'post/{slug}.html'
PAGE_URL = '{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
TAG_URL = 'tags/{slug}.html'
TAG_SAVE_AS = 'tags/{slug}.html'
TAGS_URL = 'tags.html'
GOOGLE_ANALYTICS = "UA-77190701-1"