Mercurial > public > pelican-blog
comparison pelicanconf.py @ 3:c3115da3ff73
More tweaking. Trying pelican-bootstrap3 theme.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Thu, 30 Jan 2014 21:44:15 -0600 |
parents | 64edb34396b6 |
children | 4b5cdcc351c5 |
comparison
equal
deleted
inserted
replaced
2:b7be75ff95b0 | 3:c3115da3ff73 |
---|---|
14 FEED_ALL_ATOM = None | 14 FEED_ALL_ATOM = None |
15 CATEGORY_FEED_ATOM = None | 15 CATEGORY_FEED_ATOM = None |
16 TRANSLATION_FEED_ATOM = None | 16 TRANSLATION_FEED_ATOM = None |
17 | 17 |
18 # Blogroll | 18 # Blogroll |
19 LINKS = (('Pelican', 'http://getpelican.com/'), | 19 LINKS = [ |
20 ('Python.org', 'http://python.org/'), | 20 ('Delicious', 'http://delicious.com/bgneal'), |
21 ('Jinja2', 'http://jinja.pocoo.org/'), | 21 ('Careers 2.0', 'http://careers.stackoverflow.com/bgneal'), |
22 ('You can modify those links in your config file', '#'),) | 22 ('SurfGuitar101.com', 'http://surfguitar101.com/'), |
23 ] | |
23 | 24 |
24 # Social widget | 25 # Social widget |
25 SOCIAL = (('You can add links in your config file', '#'), | 26 SOCIAL = [ |
26 ('Another social link', '#'),) | 27 ('twitter', 'http://twitter.com/bgneal'), |
28 ('bitbucket', 'https://bitbucket.org/bgneal'), | |
29 ('github', 'https://github.com/gremmie'), | |
30 ('linkedin', 'http://www.linkedin.com/in/bgneal'), | |
31 ] | |
27 | 32 |
28 DEFAULT_PAGINATION = 10 | 33 DEFAULT_PAGINATION = 10 |
29 | 34 |
30 # Uncomment following line if you want document-relative URLs when developing | 35 # Uncomment following line if you want document-relative URLs when developing |
31 #RELATIVE_URLS = True | 36 #RELATIVE_URLS = True |
32 | 37 |
33 DEFAULT_CATEGORY = 'coding' | 38 DEFAULT_CATEGORY = 'Coding' |
34 | 39 |
40 CATEGORY_URL = 'category/{slug}/' | |
41 CATEGORY_SAVE_AS = CATEGORY_URL + 'index.html' | |
42 TAG_URL = 'tag/{slug}/' | |
43 TAG_SAVE_AS = TAG_URL + 'index.html' | |
35 ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/' | 44 ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/' |
36 ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html' | 45 ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html' |
37 PAGE_URL = '{slug}/' | 46 PAGE_URL = '{slug}/' |
38 PAGE_SAVE_AS = PAGE_URL + 'index.html' | 47 PAGE_SAVE_AS = PAGE_URL + 'index.html' |
48 ARCHIVES_URL = 'archives/' | |
49 ARCHIVES_SAVE_AS = ARCHIVES_URL + 'index.html' | |
50 | |
51 PAGINATION_PATTERNS = [ | |
52 (1, '{base_name}/', '{base_name}/index.html'), | |
53 (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'), | |
54 ] | |
39 | 55 |
40 AUTHOR_SAVE_AS = False | 56 AUTHOR_SAVE_AS = False |
41 AUTHORS_SAVE_AS = False | 57 AUTHORS_SAVE_AS = False |
42 | 58 |
59 STATIC_PATHS = [ | |
60 'images', | |
61 'extra/favicon.ico', | |
62 ] | |
63 | |
64 ############################################################################### | |
65 | |
66 THEME = '/home/brian/coding/python/venvs/blog/pelican-themes/pelican-bootstrap3' | |
67 BOOTSTRAP_THEME = 'readable' | |
68 BOOTSTRAP_NAVBAR_INVERSE = True | |
69 FAVICON = 'extra/favicon.ico' | |
70 DISPLAY_RECENT_POSTS_ON_SIDEBAR = True | |
71 RECENT_POST_COUNT = 10 | |
72 CC_LICENSE = 'CC-BY' |