-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
executable file
·128 lines (88 loc) · 3.19 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Christopher J. Friedline'
SITENAME = u'Christopher J. Friedline, Ph.D.'
SITESUBTITLE = u"will blog for tenure..."
SITEURL = 'http://chris.friedline.net'
READERS = {'html': None}
TIMEZONE = 'America/New_York'
DEFAULT_LANG = u'en'
DEFAULT_DATE = 'fs'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = 'feeds/all.atom.xml'
# Blogroll
LINKS = (
('Eckert Lab', 'http://eckertlab.blogspot.com/'),
('Rivera Lab', 'http://riveralab.bio.vcu.edu/'),
('VCU Biology', 'http://www.biology.vcu.edu'),
('Evol.Fri', 'http://evolfri.blogspot.com'),
('Software Carpentry', 'http://www.software-carpentry.org'),
('The Tree of Life', 'http://phylogenomics.blogspot.com'),
('Living in an Ivory Basement', 'http://ivory.idyll.org/blog'),
('The Loom', 'http://phenomena.nationalgeographic.com/blog/the-loom/'),
('Dechronization', 'http://treethinkers.blogspot.com'),
('TreeThinkers', 'http://treethinkers.org/blog/'),
("Haldane's Sieve", 'http://haldanessieve.org'),)
# Social widget
SOCIAL = (('Bitbucket', 'http://www.bitbucket.org/cfriedline'),
('Github', 'http://github.com/cfriedline'),
('Twitter', 'http://twitter.com/noituloveand'),
('LinkedIn', 'http://www.linkedin.com/in/friedline'),)
DEFAULT_PAGINATION = 5
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
TYPOGRIFY = True
DISPLAY_CATEGORIES_ON_MENU = False
DISPLAY_PAGES_ON_MENU = False
DEFAULT_CATEGORY = u'Blog'
MENUITEMS = (('About', '/pages/about.html'),
('Funding', '/pages/funding.html'),
('Publications', '/pages/publications.html'),
('Contact', '/pages/contact.html'))
PDF_GENERATOR = False
ARTICLE_URL = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%b}/{date:%d}/{slug}/index.html'
TWITTER_USERNAME = u'noituloveand'
GOOGLE_ANALYTICS = u'UA-42131442-1'
THEME = "../pelican-themes/pelican-bootstrap3"
PLUGIN_PATHS = ['../pelican-plugins']
PLUGINS = ['sitemap', 'related_posts', 'latex', 'tag_cloud', 'i18n_subsites']
SITEMAP = {
'format': 'xml',
'priorities': {
'articles': 0.5,
'indexes': 0.5,
'pages': 0.5
},
'changefreqs': {
'articles': 'daily',
'indexes': 'daily',
'pages': 'daily'
}
}
STATIC_PATHS = ['extra/CNAME',
'images',
'extra/favicon.ico',
'extra/keybase.txt']
EXTRA_PATH_METADATA = {
'extra/CNAME': {'path': 'CNAME'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/keybase.txt': {'path': 'keybase.txt'}
}
BOOTSTRAP_THEME = "simplex"
# CUSTOM_CSS = "theme/css/custom.css"
DISPLAY_BREADCRUMBS = True
DISPLAY_ARTICLE_INFO_ON_INDEX = True
DISPLAY_TAGS_INLINE = True
CC_LICENSE = "CC-BY"
ADDTHIS_PROFILE = "ra-53d5b428043a2c47"
TWITTER_WIDGET_ID = "493588924690747392"
TWITTER_CARDS = True
# GITHUB_USER = "cfriedline"
# GITHUB_REPO_COUNT = 5
DISPLAY_CATEGORIES_ON_SIDEBAR = False
PYGMENTS_STYLE = "solarizeddark"
RELATED_POSTS_MAX = 5
TAG_CLOUD_STEPS = 4
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}