bgneal@0: #!/usr/bin/env python bgneal@0: # -*- coding: utf-8 -*- # bgneal@0: from __future__ import unicode_literals bgneal@0: bgneal@0: AUTHOR = u'Brian Neal' bgneal@0: SITENAME = u'Death of a Gremmie' bgneal@0: SITEURL = '' bgneal@0: bgneal@13: PATH = 'content' bgneal@15: PAGE_DIR = '../pages' bgneal@13: bgneal@1: TIMEZONE = 'US/Central' bgneal@0: bgneal@0: DEFAULT_LANG = u'en' bgneal@0: bgneal@0: # Feed generation is usually not desired when developing bgneal@0: FEED_ALL_ATOM = None bgneal@0: CATEGORY_FEED_ATOM = None bgneal@0: TRANSLATION_FEED_ATOM = None bgneal@0: bgneal@0: # Blogroll bgneal@3: LINKS = [ bgneal@22: ('SurfGuitar101.com', 'https://surfguitar101.com/'), bgneal@3: ] bgneal@0: bgneal@0: # Social widget bgneal@3: SOCIAL = [ bgneal@22: ('twitter', 'https://twitter.com/bgneal'), bgneal@24: ('github', 'https://github.com/gremmie'), bgneal@3: ('bitbucket', 'https://bitbucket.org/bgneal'), bgneal@3: ] bgneal@0: bgneal@0: DEFAULT_PAGINATION = 10 bgneal@0: bgneal@0: # Uncomment following line if you want document-relative URLs when developing bgneal@0: #RELATIVE_URLS = True bgneal@1: bgneal@3: DEFAULT_CATEGORY = 'Coding' bgneal@1: bgneal@3: CATEGORY_URL = 'category/{slug}/' bgneal@3: CATEGORY_SAVE_AS = CATEGORY_URL + 'index.html' bgneal@3: TAG_URL = 'tag/{slug}/' bgneal@3: TAG_SAVE_AS = TAG_URL + 'index.html' bgneal@1: ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/' bgneal@1: ARTICLE_SAVE_AS = ARTICLE_URL + 'index.html' bgneal@1: PAGE_URL = '{slug}/' bgneal@1: PAGE_SAVE_AS = PAGE_URL + 'index.html' bgneal@3: ARCHIVES_URL = 'archives/' bgneal@3: ARCHIVES_SAVE_AS = ARCHIVES_URL + 'index.html' bgneal@3: bgneal@3: PAGINATION_PATTERNS = [ bgneal@3: (1, '{base_name}/', '{base_name}/index.html'), bgneal@3: (2, '{base_name}/page/{number}/', '{base_name}/page/{number}/index.html'), bgneal@3: ] bgneal@1: bgneal@1: AUTHOR_SAVE_AS = False bgneal@1: AUTHORS_SAVE_AS = False bgneal@1: bgneal@3: STATIC_PATHS = [ bgneal@3: 'images', bgneal@3: 'extra/favicon.ico', bgneal@3: ] bgneal@3: bgneal@3: ############################################################################### bgneal@3: bgneal@8: DISQUS_SITENAME = 'deathofagremmie' bgneal@8: DISQUS_DISPLAY_COUNTS = True bgneal@12: DISQUS_NO_ID = True bgneal@8: bgneal@8: ############################################################################### bgneal@8: bgneal@5: THEME = '/home/brian/coding/python/venvs/blog/pelican-bootstrap3' bgneal@13: BOOTSTRAP_THEME = 'readable-bgn' bgneal@3: BOOTSTRAP_NAVBAR_INVERSE = True bgneal@3: FAVICON = 'extra/favicon.ico' bgneal@15: DISPLAY_PAGES_ON_MENU = True bgneal@3: DISPLAY_RECENT_POSTS_ON_SIDEBAR = True bgneal@3: RECENT_POST_COUNT = 10 bgneal@3: CC_LICENSE = 'CC-BY' bgneal@13: bgneal@13: DISPLAY_ARTICLE_INFO_ON_INDEX = True bgneal@13: TWITTER_USERNAME = 'bgneal' bgneal@13: TWITTER_WIDGET_ID = '373250113528807425'