-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathpelicanconf.py
49 lines (35 loc) · 1.1 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Amjith'
SITENAME = u'pgcli'
SITEURL = 'https://www.pgcli.com'
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/%s.atom.xml'
TAG_FEED_ATOM = 'feeds/tag.%s.atom.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
TAG_FEED_RSS = 'feeds/tag.%s.rss.xml'
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = (('mycli', 'http://mycli.net/'),
)
# Social widget
SOCIAL = (('twitter', 'http://twitter.com/amjithr'),
('github', 'http://github.com/dbcli/pgcli'),
)
DEFAULT_PAGINATION = 4
# 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'