annotate pelicanconf.py @ 22:a893739e9587

Updates for SSL
author Brian Neal <bgneal@gmail.com>
date Sat, 21 Jul 2018 17:47:55 -0500
parents a2907243a98a
children ae90dc3de83d
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@22 23 ('SurfGuitar101.com', 'https://surfguitar101.com/'),
bgneal@3 24 ]
bgneal@0 25
bgneal@0 26 # Social widget
bgneal@3 27 SOCIAL = [
bgneal@22 28 ('twitter', 'https://twitter.com/bgneal'),
bgneal@3 29 ('bitbucket', 'https://bitbucket.org/bgneal'),
bgneal@3 30 ('github', 'https://github.com/gremmie'),
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@8 66 DISQUS_SITENAME = 'deathofagremmie'
bgneal@8 67 DISQUS_DISPLAY_COUNTS = True
bgneal@12 68 DISQUS_NO_ID = True
bgneal@8 69
bgneal@8 70 ###############################################################################
bgneal@8 71
bgneal@5 72 THEME = '/home/brian/coding/python/venvs/blog/pelican-bootstrap3'
bgneal@13 73 BOOTSTRAP_THEME = 'readable-bgn'
bgneal@3 74 BOOTSTRAP_NAVBAR_INVERSE = True
bgneal@3 75 FAVICON = 'extra/favicon.ico'
bgneal@15 76 DISPLAY_PAGES_ON_MENU = True
bgneal@3 77 DISPLAY_RECENT_POSTS_ON_SIDEBAR = True
bgneal@3 78 RECENT_POST_COUNT = 10
bgneal@3 79 CC_LICENSE = 'CC-BY'
bgneal@13 80
bgneal@13 81 DISPLAY_ARTICLE_INFO_ON_INDEX = True
bgneal@13 82 TWITTER_USERNAME = 'bgneal'
bgneal@13 83 TWITTER_WIDGET_ID = '373250113528807425'