comparison pelicanconf.py @ 1:64edb34396b6

Setup URLs to match old blog.
author Brian Neal <bgneal@gmail.com>
date Wed, 29 Jan 2014 19:37:00 -0600
parents c4ec6945bb86
children c3115da3ff73
comparison
equal deleted inserted replaced
0:c4ec6945bb86 1:64edb34396b6
4 4
5 AUTHOR = u'Brian Neal' 5 AUTHOR = u'Brian Neal'
6 SITENAME = u'Death of a Gremmie' 6 SITENAME = u'Death of a Gremmie'
7 SITEURL = '' 7 SITEURL = ''
8 8
9 TIMEZONE = 'Europe/Paris' 9 TIMEZONE = 'US/Central'
10 10
11 DEFAULT_LANG = u'en' 11 DEFAULT_LANG = u'en'
12 12
13 # Feed generation is usually not desired when developing 13 # Feed generation is usually not desired when developing
14 FEED_ALL_ATOM = None 14 FEED_ALL_ATOM = None
27 27
28 DEFAULT_PAGINATION = 10 28 DEFAULT_PAGINATION = 10
29 29
30 # Uncomment following line if you want document-relative URLs when developing 30 # Uncomment following line if you want document-relative URLs when developing
31 #RELATIVE_URLS = True 31 #RELATIVE_URLS = True
32
33 DEFAULT_CATEGORY = 'coding'
34
35 ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/'
36 ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html'
37 PAGE_URL = '{slug}/'
38 PAGE_SAVE_AS = PAGE_URL + 'index.html'
39
40 AUTHOR_SAVE_AS = False
41 AUTHORS_SAVE_AS = False
42