Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
129 lines (108 sloc) 3.5 KB
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Jamie Duncan'
SITENAME = u'jduncan'
SITEURL = 'https://blog.jeduncan.com'
SITELOGO = SITEURL + '/images/jduncan-talking.jpg'
SITETITLE = 'Jamie Duncan'
SITESUBTITLE = 'Tech blog and random musings'
SITEDESCRIPTION = 'My thoughts on open source technology, containers, farm life, babies, and chickens'
SITEABOUTTITLE = 'Dad, Husband, Linux Geek, F1 Fan, Farm Owner'
SITEABOUT = 'But not always in that order. I like to think of myself as a problem solver in everything that I do. I apply that idea to Linux and Open Source software for my day job. I apply it to the 6 acres of land we own every chance I get. I apply it to being a good man at all times for my wife Molly and daughter Elizabeth. And I like to watch a lot of F1 Racing.'
CC_LICENSE = {
'name': 'Creative Commons Attribution-ShareAlike',
'version': '4.0',
'slug': 'by-sa'
}
COPYRIGHT_YEAR = 2017
MAIN_MENU = True
MENUITEMS = (
('Archives', '/archives.html'),
('Categories', '/categories.html'),
('Tags', '/tags.html'),
)
DEFAULT_PAGINATION = 10
PATH = 'content'
TIMEZONE = 'America/New_York'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_DOMAIN = 'blog.jeduncan.com'
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
FEED_RSS = 'feeds/rss.xml'
BROWSER_COLOR = '#333333'
PYGMENTS_STYLE = 'native'
# Blogroll
LINKS = (
('old blog','http://lostinopensource.wordpress.com'),
)
# Social widget
SOCIAL = (
('twitter', 'http://www.twitter.com/jamieeduncan'),
('github', 'http://www.github.com/jduncan-rva'),
('github', 'http://www.github.com/RedHatGov'),
('facebook', 'https://www.facebook.com/jamie.e.duncan'),
('linkedin', 'https://www.linkedin.com/in/jamieeduncan'),
)
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['asciidoc_reader',
'sitemap',
'gravatar',
'filetime_from_git',
'gallery',
'thumbnailer',
'disqus_static',
'post_stats',
]
THEME = "pelican-theme"
SITEMAP = {
'format': 'xml',
'priorities': {
'articles': 0.5,
'indexes': 0.5,
'pages': 0.5
},
'changefreqs': {
'articles': 'monthly',
'indexes': 'daily',
'pages': 'monthly'
}
}
STATIC_PATHS = [
'images',
'extra/robots.txt',
'extra/favicon.ico',
'extra/CNAME'
]
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/CNAME': {'path': 'CNAME'}
}
GOOGLE_ANALYTICS = 'UA-9093834-2'
# blueidea settings
DISPLAY_CATEGORIES_ON_SUBMENU = True
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_SEARCH_FORM = True
# nice-blog them settings
SIDEBAR_DISPLAY = ['about','categories','tags']
SIDEBAR_ABOUT = "Red Hatter. Geek. Dad. F1 Fan. Wannabe Farmer."
THEME_COLOR = 'red'
# thumbnailer settings
IMAGE_PATH = 'images'
THUMBNAIL_DIR = 'images'
THUMBNAIL_KEEP_NAME = True
THUMBNAIL_KEEP_TREE = True
# disqus_static settings
DISQUS_SITENAME = 'localhost-8000-3'
DISQUS_PUBLIC_KEY = 'Zuy9Hu0Lj35N0FNLnke5ye9No0cJhsBvZKNGJ701eIJQf4adgeKYnGeROOHm1OgG'
DISQUS_SECRET_KEY = 's8BQwXKdKek2WAAHeIGAo9yzQrAMFDGjmBr3OmYq5IewowmeASmPllkUlkYRipVs'
ASCIIDOC_BACKEND = 'html5'
GALLERY_PATH = 'images/gallery'
RESIZE = [
('images/gallery', False, 200,200),
]