annotate 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
rev   line source
bgneal@0 1 #!/usr/bin/env python
bgneal@0 2 # -*- coding: utf-8 -*- #
bgneal@0 3 from __future__ import unicode_literals
bgneal@0 4
bgneal@0 5 AUTHOR = u'Brian Neal'
bgneal@0 6 SITENAME = u'Death of a Gremmie'
bgneal@0 7 SITEURL = ''
bgneal@0 8
bgneal@1 9 TIMEZONE = 'US/Central'
bgneal@0 10
bgneal@0 11 DEFAULT_LANG = u'en'
bgneal@0 12
bgneal@0 13 # Feed generation is usually not desired when developing
bgneal@0 14 FEED_ALL_ATOM = None
bgneal@0 15 CATEGORY_FEED_ATOM = None
bgneal@0 16 TRANSLATION_FEED_ATOM = None
bgneal@0 17
bgneal@0 18 # Blogroll
bgneal@3 19 LINKS = [
bgneal@3 20 ('Delicious', 'http://delicious.com/bgneal'),
bgneal@3 21 ('Careers 2.0', 'http://careers.stackoverflow.com/bgneal'),
bgneal@3 22 ('SurfGuitar101.com', 'http://surfguitar101.com/'),
bgneal@3 23 ]
bgneal@0 24
bgneal@0 25 # Social widget
bgneal@3 26 SOCIAL = [
bgneal@3 27 ('twitter', 'http://twitter.com/bgneal'),
bgneal@3 28 ('bitbucket', 'https://bitbucket.org/bgneal'),
bgneal@3 29 ('github', 'https://github.com/gremmie'),
bgneal@3 30 ('linkedin', 'http://www.linkedin.com/in/bgneal'),
bgneal@3 31 ]
bgneal@0 32
bgneal@0 33 DEFAULT_PAGINATION = 10
bgneal@0 34
bgneal@0 35 # Uncomment following line if you want document-relative URLs when developing
bgneal@0 36 #RELATIVE_URLS = True
bgneal@1 37
bgneal@3 38 DEFAULT_CATEGORY = 'Coding'
bgneal@1 39
bgneal@3 40 CATEGORY_URL = 'category/{slug}/'
bgneal@3 41 CATEGORY_SAVE_AS = CATEGORY_URL + 'index.html'
bgneal@3 42 TAG_URL = 'tag/{slug}/'
bgneal@3 43 TAG_SAVE_AS = TAG_URL + 'index.html'
bgneal@1 44 ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/'
bgneal@1 45 ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html'
bgneal@1 46 PAGE_URL = '{slug}/'
bgneal@1 47 PAGE_SAVE_AS = PAGE_URL + 'index.html'
bgneal@3 48 ARCHIVES_URL = 'archives/'
bgneal@3 49 ARCHIVES_SAVE_AS = ARCHIVES_URL + 'index.html'
bgneal@3 50
bgneal@3 51 PAGINATION_PATTERNS = [
bgneal@3 52 (1, '{base_name}/', '{base_name}/index.html'),
bgneal@3 53 (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
bgneal@3 54 ]
bgneal@1 55
bgneal@1 56 AUTHOR_SAVE_AS = False
bgneal@1 57 AUTHORS_SAVE_AS = False
bgneal@1 58
bgneal@3 59 STATIC_PATHS = [
bgneal@3 60 'images',
bgneal@3 61 'extra/favicon.ico',
bgneal@3 62 ]
bgneal@3 63
bgneal@3 64 ###############################################################################
bgneal@3 65
bgneal@3 66 THEME = '/home/brian/coding/python/venvs/blog/pelican-themes/pelican-bootstrap3'
bgneal@3 67 BOOTSTRAP_THEME = 'readable'
bgneal@3 68 BOOTSTRAP_NAVBAR_INVERSE = True
bgneal@3 69 FAVICON = 'extra/favicon.ico'
bgneal@3 70 DISPLAY_RECENT_POSTS_ON_SIDEBAR = True
bgneal@3 71 RECENT_POST_COUNT = 10
bgneal@3 72 CC_LICENSE = 'CC-BY'