-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
77 lines (60 loc) · 2.2 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
76
77
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import sys
sys.path.append('.')
import filters
JINJA_FILTERS = { 'sidebar': filters.sidebar }
AUTHOR = u'Douglas Land'
SITENAME = u'webuilddevops'
SITEURL = 'https://webuilddevops.com'
# SITEURL = 'http://localhost:8000'
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = False
#RELATIVE_URLS = True
COVER_IMG_URL = 'https://webuilddevops.com/images/snake-40427_640.png'
PROFILE_IMAGE_URL = 'https://webuilddevops.com/images/snake-40427_640.png'
TAGLINE = 'We build DevOps'
HEADER_COVER = 'images/avalanche.png'
PATH = 'content'
STATIC_PATHS = ['images', 'extra/robots.txt', 'extra/favicon.ico', 'extra/apple-touch-icon-precomposed.png', 'extra/apple-touch-icon.png']
#TEMPLATE_PAGES = {'pages/resources/vim.html': 'resources/vim.html', 'extras/search.html': 'search.html'}
#TEMPLATE_PAGES = {'extras/search.html': 'search.html'}
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/apple-touch-icon-precomposed.png': {'path': 'apple-touch-icon-precomposed.png'},
'extra/apple-touch-icon.png': {'path': 'apple-touch-icon.png'},
}
TIMEZONE = 'America/Chicago'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
FEED_ALL_RSS = None
CATEGORY_FEED_RSS = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
DISPLAY_CATEGORIES_ON_MENU = True
# Social widget
SOCIAL = (
('rss-square', 'https://webuilddevops.com/feeds/all.atom.xml'),
('twitter', 'https://twitter.com/webuilddevops'),
('github', 'https://github.com/looprock'),
)
# ('user', 'https://webuilddevops.com/pages/about.html'),
# ('book', 'https://webuilddevops.com/pages/resources.html'),
# ('search', 'https://webuilddevops.com/search.html'),
DEFAULT_PAGINATION = 10
PLUGINS = [
'pelican_youtube',
'pelican_vimeo',
'pelican_slideshare',
'tipue_search',
]
#THEME = "pure"
#THEME = "twenty-pelican-html5up"
THEME = "attila"
#TIPUE_SEARCH = True
#DIRECT_TEMPLATES = (('index', 'tags', 'categories', 'authors', 'archives', 'search'))