-
Notifications
You must be signed in to change notification settings - Fork 4
/
pelicanconf.py
51 lines (37 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Amjith Ramanujam'
SITENAME = u'mycli'
SITEURL = 'https://www.mycli.net'
PATH = 'content'
TIMEZONE = 'America/Los_Angeles'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
TAG_FEED_ATOM = 'feeds/tag.{slug}.atom.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml'
TAG_FEED_RSS = 'feeds/tag.{slug}.rss.xml'
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = (('pgcli', 'http://pgcli.com/'),
)
# Social widget
SOCIAL = (('twitter', 'http://twitter.com/amjithr'),
('github', 'http://github.com/dbcli/mycli'),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}.html'
DIRECT_TEMPLATES = {}
STATIC_PATHS = {'images', 'extra/CNAME'}
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'},}
THEME = 'theme/notmyidea'
SPONSORS = (('Nova Kid School', 'https://www.novakidschool.com/', 'theme/images/novakid.svg', 'left'),
)