forked from BayPiggies/pelican_website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
83 lines (64 loc) · 2.14 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
# import os.path
AUTHOR = u'Bay Area Python Interest Group (BAyPIGgies)'
SITENAME = u'BayPIGgies Bay Area Python Interest Group'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'US/Pacific'
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 = (
# ('Meetup', 'https://www.meetup.com/BAyPIGgies/'),
('Python.org', 'http://python.org/'),
('Mailing List', 'https://mail.python.org/mailman/listinfo/baypiggies'),
# ('You can modify those links in your config file', '#')
)
# Social widget
SOCIAL = (('BayPIGgies Meetup Group', 'http://www.meetup.com/BAyPIGgies/'),
('Twitter', 'http://twitter.com/baypiggies'),
('YouTube', 'https://www.youtube.com/channel/UCBJV1sd5XcVhijm13pWfBCg'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
STATIC_PATHS = ['images', 'pdfs']
THEME='../pelican-themes/pelican-bootstrap3'
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
# SITELOGO='images/baypiggies.png'
# SITELOGO_SIZE='381x88'
BANNER_IMAGE='images/baypiggies.png'
TWITTER_USER='baypiggies'
# TWITTER_WIDGET_ID='598966848630169601'
# The index.html page will be rendered from the featured.html template
# in this directory.
# TEMPLATE_PAGES = {os.path.join(os.path.dirname(__file__), 'featured.html'): 'index.html'}
# The title of the article to be featured on the home page
# FEATURED_ARTICLE = 'Thursday, November 17th, 2016 Meeting'
TAG_FEED_ATOM = "feeds/tag-{slug}.atom.xml"
MENUITEMS = [('Videos', '/tag/video.html')]
PLUGIN_PATHS = ['../pelican-plugins']
PLUGINS = [
'pin_to_top',
'sitemap',
'i18n_subsites'
]
SITEMAP = {
'format': 'txt',
# 'priorities': {
# 'articles': 0.5,
# 'indexes': 0.5,
# 'pages': 0.5
# },
# 'changefreqs': {
# 'articles': 'monthly',
# 'indexes': 'daily',
# 'pages': 'monthly'
# }
}