annotate pelicanconf.py @ 17:fa54eda9b809

Fix typo in get_profile() post.
author Brian Neal <bgneal@gmail.com>
date Wed, 30 Jul 2014 20:16:40 -0500
parents 4ed3f207aa65
children a2907243a98a
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@13 9 PATH = 'content'
bgneal@15 10 PAGE_DIR = '../pages'
bgneal@13 11
bgneal@1 12 TIMEZONE = 'US/Central'
bgneal@0 13
bgneal@0 14 DEFAULT_LANG = u'en'
bgneal@0 15
bgneal@0 16 # Feed generation is usually not desired when developing
bgneal@0 17 FEED_ALL_ATOM = None
bgneal@0 18 CATEGORY_FEED_ATOM = None
bgneal@0 19 TRANSLATION_FEED_ATOM = None
bgneal@0 20
bgneal@0 21 # Blogroll
bgneal@3 22 LINKS = [
bgneal@6 23 ('My Delicious', 'http://delicious.com/bgneal'),
bgneal@6 24 ('My Careers 2.0 Profile', 'http://careers.stackoverflow.com/bgneal'),
bgneal@3 25 ('SurfGuitar101.com', 'http://surfguitar101.com/'),
bgneal@3 26 ]
bgneal@0 27
bgneal@0 28 # Social widget
bgneal@3 29 SOCIAL = [
bgneal@3 30 ('twitter', 'http://twitter.com/bgneal'),
bgneal@3 31 ('bitbucket', 'https://bitbucket.org/bgneal'),
bgneal@3 32 ('github', 'https://github.com/gremmie'),
bgneal@3 33 ('linkedin', 'http://www.linkedin.com/in/bgneal'),
bgneal@3 34 ]
bgneal@0 35
bgneal@0 36 DEFAULT_PAGINATION = 10
bgneal@0 37
bgneal@0 38 # Uncomment following line if you want document-relative URLs when developing
bgneal@0 39 #RELATIVE_URLS = True
bgneal@1 40
bgneal@3 41 DEFAULT_CATEGORY = 'Coding'
bgneal@1 42
bgneal@3 43 CATEGORY_URL = 'category/{slug}/'
bgneal@3 44 CATEGORY_SAVE_AS = CATEGORY_URL + 'index.html'
bgneal@3 45 TAG_URL = 'tag/{slug}/'
bgneal@3 46 TAG_SAVE_AS = TAG_URL + 'index.html'
bgneal@1 47 ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/'
bgneal@1 48 ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html'
bgneal@1 49 PAGE_URL = '{slug}/'
bgneal@1 50 PAGE_SAVE_AS = PAGE_URL + 'index.html'
bgneal@3 51 ARCHIVES_URL = 'archives/'
bgneal@3 52 ARCHIVES_SAVE_AS = ARCHIVES_URL + 'index.html'
bgneal@3 53
bgneal@3 54 PAGINATION_PATTERNS = [
bgneal@3 55 (1, '{base_name}/', '{base_name}/index.html'),
bgneal@3 56 (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
bgneal@3 57 ]
bgneal@1 58
bgneal@1 59 AUTHOR_SAVE_AS = False
bgneal@1 60 AUTHORS_SAVE_AS = False
bgneal@1 61
bgneal@3 62 STATIC_PATHS = [
bgneal@3 63 'images',
bgneal@3 64 'extra/favicon.ico',
bgneal@3 65 ]
bgneal@3 66
bgneal@3 67 ###############################################################################
bgneal@3 68
bgneal@8 69 DISQUS_SITENAME = 'deathofagremmie'
bgneal@8 70 DISQUS_DISPLAY_COUNTS = True
bgneal@12 71 DISQUS_NO_ID = True
bgneal@8 72
bgneal@8 73 ###############################################################################
bgneal@8 74
bgneal@5 75 THEME = '/home/brian/coding/python/venvs/blog/pelican-bootstrap3'
bgneal@13 76 BOOTSTRAP_THEME = 'readable-bgn'
bgneal@3 77 BOOTSTRAP_NAVBAR_INVERSE = True
bgneal@3 78 FAVICON = 'extra/favicon.ico'
bgneal@15 79 DISPLAY_PAGES_ON_MENU = True
bgneal@3 80 DISPLAY_RECENT_POSTS_ON_SIDEBAR = True
bgneal@3 81 RECENT_POST_COUNT = 10
bgneal@3 82 CC_LICENSE = 'CC-BY'
bgneal@13 83
bgneal@13 84 DISPLAY_ARTICLE_INFO_ON_INDEX = True
bgneal@13 85 TWITTER_USERNAME = 'bgneal'
bgneal@13 86 TWITTER_WIDGET_ID = '373250113528807425'