-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathpelicanconf.py
44 lines (36 loc) · 1.3 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'code'
SITENAME = u'Douban CODE'
SITEURL = ''
TIMEZONE = 'Asia/Shanghai'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
# Blogroll
LINKS = (('CODE', '/pages/code.html'),
('SQLStore', '/pages/sqlstore.html'),
('MC', '/pages/mc.html'),
('Python-libmemcached', '/pages/python-libmemcached.html'),
('Quixote', '/pages/quixote.html'),
('ORZ', '/pages/orz.html'),
('Ellen', '/pages/ellen.html'),
('Pygit2', '/pages/pygit2.html'),
('GPack', '/pages/gpack.html'),
('Linguist', '/pages/linguist.html'),
('Scanner', '/pages/scanner.html'),
('Mikoto', '/pages/mikoto.html'),
('Misaka', '/pages/misaka.html'),
('About', '/pages/about.html'),)
# Social widget
SOCIAL = (('Douban@GitHub', 'https://github.com/douban'),
('CODE@GitHub', 'https://github.com/douban-code'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
THEME = 'themes/foundation'
FOUNDATION_PYGMENT_THEME = 'code'
TEMPLATE_PAGES = {'blog.html': 'blog.html', }