Skip to content

Instantly share code, notes, and snippets.

@drcjar
Created March 28, 2016 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save drcjar/606fe4c29d6df2fe27a3 to your computer and use it in GitHub Desktop.
Save drcjar/606fe4c29d6df2fe27a3 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Carl Reynolds'
AUTHOR_EMAIL = 'drcjar@gmail.com'
SITENAME = u'Carl Reynolds'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Social widget
SOCIAL = (
('github', 'https://github.com/drcjar/'),
('linkedin-square', 'https://uk.linkedin.com/in/carl-reynolds-36700025'),
('twitter-square', 'https://twitter.com/drcjar'),
('envelope-square', 'mailto:drcjar@gmail.com')
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
#Plugin
PLUGIN_PATHS = ['/home/sam/Documents/myblog/pelican-plugins']
PLUGINS = ['pandoc_reader','pelican_youtube']
#PANDOC_ARGS = ['--smart', # use smart typography
# '--no-highlight', # use highlight.js instead
# '-t', 'html5', # use HTML and its corresponding attributes
# '--section-divs', # wrap heading-blocks with <section>
# '--filter', 'pandoc-citeproc']
# '--csl', str(csl_path)] # bibtex
# Theme -- Pure Single
THEME = '/home/sam/Documents/myblog/pelican-themes/pure-single'
CSS_FILE = 'pure.css'
COVER_IMG_URL = '/images/Carl2.jpg'
#COVER_IMG_URL = 'http://dnqgz544uhbo8.cloudfront.net/_/fp/img/home/11.WVgzJf1Jz5x9uuR7KjWjXw.jpg'
#PROFILE_IMG_URL = '/images/Carl.jpg'
#MENUITEMS = [
# ('Archives', 'archives.html')
#]
# Category settings
USE_FOLDER_AS_CATEGORY = True # note: this is the default
DEFAULT_CATEGORY = 'blog'
LOAD_CONTENT_CACHE = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment