-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
73 lines (53 loc) · 1.68 KB
/
pelicanconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Jason Reinhart'
SITENAME = u'Jason Reinhart'
SITESUBTITLE = u'Data Analysis, Visualization, and Machine Learning'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'America/Indiana/Indianapolis'
DEFAULT_LANG = u'en'
LOAD_CONTENT_CACHE = False
#Theme Settings
THEME = "/Users/Reinhart/Documents/pelican_blog/pelican_themes/pelican-clean"
MARKUP = ('md', 'ipynb')
HEADER_COVER = "/assets/images/frontpageblur.jpg"
#Plugin Settings
PLUGIN_PATHS = ['./plugins']
PLUGINS = [
'ipynb.markup'
]
STATIC_PATHS = ['assets']
#ipynb plugin settings
IPYNB_USE_META_SUMMARY = True
# 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
#URL Navigation
PAGE_URL = '/{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
#Pages on Menu navigation
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = True
MENUITEMS = [
('About', '/about.html')
]
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
# Social widget
SHOW_SOCIAL_ON_INDEX_PAGE_HEADER = True
SOCIAL = (('github', 'https://github.com/JasonReinhart'),
('facebook','https://www.facebook.com/jason.reinhart.9'))
# Socials at bottom of posts
GITHUB_URL = 'https://github.com/JasonReinhart'
FACEBOOK_URL = 'https://www.facebook.com/jason.reinhart.9'
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True