This repository has been archived by the owner on Sep 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpelicanconf.py
63 lines (47 loc) · 1.67 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
from datetime import datetime
AUTHOR = 'CLEpy'
SITENAME = 'CLEpy'
SITETITLE = 'CLEpy'
SITESUBTITLE = 'The Cleveland Python User Group'
SITEURL = 'https://www.clepy.org'
SITELOGO = 'https://www.clepy.org/img/clepy-logo.jpg'
THEME = 'themes/Flex'
FAVICON = SITEURL + '/img/favicon.ico'
COPYRIGHT_NAME = AUTHOR
COPYRIGHT_YEAR = datetime.now().strftime('%Y')
PATH = 'content'
STATIC_PATHS = ['img']
INDEX_SAVE_AS = 'posts/index.html'
TIMEZONE = 'America/New_York'
PLUGINS = ['pelican_meetup_info']
#MEETUP_API_KEY = ''
#MEETUP_URLNAME = 'Cleveland-Area-Python-Interest-Group'
MEETUP_GROUP_SIGNED_URL = 'https://api.meetup.com/Cleveland-Area-Python-Interest-Group?photo-host=public&sig_id=1445&sig=3c0d385c607d27a7bd3ae14f220f17856eb163b0'
MEETUP_EVENTS_SIGNED_URL = 'https://api.meetup.com/Cleveland-Area-Python-Interest-Group/events?photo-host=public&page=20&sig_id=1445&fields=featured_photo&sig=a5c31e40242fc10b7563c440d840c58c1958e95b'
THEME_TEMPLATES_OVERRIDES = [
'templates'
]
DEFAULT_LANG = '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
LINKS = (
('posts', '/posts'),
('submit talk', 'https://www.papercall.io/clepy'),
)
# Social widget
SOCIAL = (
('github', 'https://github.com/CLEpy'),
('twitter', 'https://twitter.com/CLEpy'),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
# Google Analytics
GOOGLE_ANALYTICS = "UA-112189375-1"