annotate pelicanconf.py @ 19:d6221e37c59e

New blog post on setting up Teamspeak 3 on Ubuntu.
author Brian Neal <bgneal@gmail.com>
date Sun, 08 Nov 2015 22:40:09 -0600
parents a2907243a98a
children a893739e9587
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 ]
bgneal@0 34
bgneal@0 35 DEFAULT_PAGINATION = 10
bgneal@0 36
bgneal@0 37 # Uncomment following line if you want document-relative URLs when developing
bgneal@0 38 #RELATIVE_URLS = True
bgneal@1 39
bgneal@3 40 DEFAULT_CATEGORY = 'Coding'
bgneal@1 41
bgneal@3 42 CATEGORY_URL = 'category/{slug}/'
bgneal@3 43 CATEGORY_SAVE_AS = CATEGORY_URL + 'index.html'
bgneal@3 44 TAG_URL = 'tag/{slug}/'
bgneal@3 45 TAG_SAVE_AS = TAG_URL + 'index.html'
bgneal@1 46 ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/'
bgneal@1 47 ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html'
bgneal@1 48 PAGE_URL = '{slug}/'
bgneal@1 49 PAGE_SAVE_AS = PAGE_URL + 'index.html'
bgneal@3 50 ARCHIVES_URL = 'archives/'
bgneal@3 51 ARCHIVES_SAVE_AS = ARCHIVES_URL + 'index.html'
bgneal@3 52
bgneal@3 53 PAGINATION_PATTERNS = [
bgneal@3 54 (1, '{base_name}/', '{base_name}/index.html'),
bgneal@3 55 (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'),
bgneal@3 56 ]
bgneal@1 57
bgneal@1 58 AUTHOR_SAVE_AS = False
bgneal@1 59 AUTHORS_SAVE_AS = False
bgneal@1 60
bgneal@3 61 STATIC_PATHS = [
bgneal@3 62 'images',
bgneal@3 63 'extra/favicon.ico',
bgneal@3 64 ]
bgneal@3 65
bgneal@3 66 ###############################################################################
bgneal@3 67
bgneal@8 68 DISQUS_SITENAME = 'deathofagremmie'
bgneal@8 69 DISQUS_DISPLAY_COUNTS = True
bgneal@12 70 DISQUS_NO_ID = True
bgneal@8 71
bgneal@8 72 ###############################################################################
bgneal@8 73
bgneal@5 74 THEME = '/home/brian/coding/python/venvs/blog/pelican-bootstrap3'
bgneal@13 75 BOOTSTRAP_THEME = 'readable-bgn'
bgneal@3 76 BOOTSTRAP_NAVBAR_INVERSE = True
bgneal@3 77 FAVICON = 'extra/favicon.ico'
bgneal@15 78 DISPLAY_PAGES_ON_MENU = True
bgneal@3 79 DISPLAY_RECENT_POSTS_ON_SIDEBAR = True
bgneal@3 80 RECENT_POST_COUNT = 10
bgneal@3 81 CC_LICENSE = 'CC-BY'
bgneal@13 82
bgneal@13 83 DISPLAY_ARTICLE_INFO_ON_INDEX = True
bgneal@13 84 TWITTER_USERNAME = 'bgneal'
bgneal@13 85 TWITTER_WIDGET_ID = '373250113528807425'