-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpelicanconf.py
131 lines (114 loc) · 5.65 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'The Crosleys'
SITENAME = 'Love Licton'
SITEURL = 'https://lovelicton.com'
PATH = 'content'
TIMEZONE = 'US/Pacific'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = 'feeds/all.atom.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml'
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
TRANSLATION_FEED_ATOM = 'feeds/all-{lang}.atom.xml'
AUTHOR_FEED_ATOM = 'feeds/{slug}.atom.xml'
AUTHOR_FEED_RSS = 'feeds/{slug}.rss.xml'
THEME = 'attila'
SITESUBTITLE = 'The Licton Springs Blog'
AUTHORS_BIO = {
"timothycrosley": {
"name": "Timothy Crosley",
"cover": "images/spring/trees.jpg",
"image": "https://avatars1.githubusercontent.com/u/2090154?s=400&u=4f46538354444ce0a0d4d89cd676f769d7d846d3&v=4",
"location": "Licton Springs, Seattle, WA",
"bio": "During the day, I work at DomainTools, where I’m helping to develop predictive security solutions on top of truly large data sets. I can’t resist a good craft beer, a new board game, an arcade, or any food that contains peanut butter."
},
"amandacrosley": {
"name": "Amanda Crosley",
"cover": "images/spring/bird.jpg",
"image": "images/amandacrosley.jpg",
"location": "Licton Springs, Seattle, WA",
"bio": "When I'm not mentoring the next generation of STEM leaders, urban hiking through Seattle or playing arcade/board games, you can find me @ Facebook driving product growth."
},
"janicelichtenwaldt": {
"name": "Janice Lichtenwaldt",
"cover": "images/spring/bird.jpg",
"image": "images/JaniceLichtenwaldt.jpg",
"location": "Licton Springs, Seattle, WA",
"bio": "During the day, I am the CEO of I Am Virago where we coach folks to become more engaged and effective leaders. I’m a sucker for anything related to arts & crafts and women’s empowerment. I love music, sci-fi, my husband, and my dog…not necessarily in that order."
}
}
SITE_DESCRIPTION = ('The blog for the beautiful Licton Springs neighborhood in Seattle, WA. '
'Keep up to date on all the latest retail openings, neighborhood events, and news related to '
'this North Seattle neighborhood.')
SHOW_SITESUBTITLE_IN_HTML = True
HEADER_COVER = 'images/header.jpg'
HEADER_COVERS_BY_TAG = {}
HEADER_COVERS_BY_CATEGORY = {}
SITE_LOGO = '/images/logo.png'
CSS_OVERRIDE = ['static/main.css',
'static/tipuesearch/tipuesearch.css',
'https://use.fontawesome.com/releases/v5.5.0/css/all.css']
STATIC_PATHS = ['static',
'images',
'images/spring',
'extra/robots.txt',
'extra/favicon.ico',
'extra/CNAME'
]
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/CNAME': {'path': 'CNAME'}
}
COLOR_SCHEME_CSS = 'monokai.css'
SHOW_CREDITS = {'left': 'Made in Licton Springs, Seattle, WA',
'right': 'Follow: <a href="https://twitter.com/LoveLicton" style="color: #1da1f3; font-weight: bold;">'
'Twitter</a> '
'<a href="https://www.facebook.com/lovelicton" style="color: #4267b2; font-weight: bold;">'
'Facebook</a> '
'<a href="https://www.instagram.com/lictonsprings/" style="color: black; font-weight: bold;">'
'Instagram</a>'
'<br />'
'<div style="margin: .5em">'
'Contact: <a href="mailto:lovelicton@gmail.com" style="color: #e04c40; font-weight: bold">'
'lovelicton@gmail.com</a></div>'
'<br/>'
'<a href="http://eepurl.com/dONX6X" style="color: #8c790e; font-weight: bold;">Join Mailing List</a>'
'<br />'
'<br />'
'Feed: <a href="/feeds/all.rss.xml" style="color: #ee802f; font-weight: '
'bold;">RSS</a> <a href="/feeds/all.atom.xml" style="color: #07b392; '
'font-weight: bold;">Atom</a>'}
SOCIAL = (('twitter', 'https://twitter.com/lictonlove'),
('facebook','https://facebook.com/lovelicton'),
('envelope','mailto:lovelicton@gmail.com'))
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
DEFAULT_PAGINATION = 5
DISQUS_SITENAME = 'lovelicton'
GOOGLE_ANALYTICS = 'UA-115518273-1'
SHOW_FULL_ARTICLE = True
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_PAGES_ON_MENU = False
MENUITEMS = (
('About Licton Springs', '/pages/about-licton-springs.html'),
('Get Involved', '/pages/get-involved.html'),
('Community Council', 'https://lictonsprings.org/'),
('Community Calendar', '/pages/community-calendar.html'),
('About LoveLicton', '/pages/about-lovelicton.html'),
('Connect with Us', '/pages/connect-with-us.html'),
('Map of the neighborhood', '/pages/map-of-the-neighborhood.html'),
('Search <i class="fas fa-search fa-flip-horizontal" style="font-size: 150%;vertical-align: middle;height: 20px;color: #2481ba;"></i>', '/pages/search.html'),
)
PLUGIN_PATHS = ["plugins"]
PLUGINS = ["tipue_search", "sitemap", "extract_toc"]
SITEMAP = {'format': 'xml'}
THEME_TEMPLATES_OVERRIDES = ['templates', ]
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True