-
Notifications
You must be signed in to change notification settings - Fork 32
/
pelicanconf.py
74 lines (57 loc) · 2.32 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Ryan Abernathey and Kerry Key'
SITENAME = u'Research Computing in Earth Sciences'
SITEURL = 'https://rabernat.github.io/research_computing'
RELATIVE_URLS = True
PATH = 'content'
USE_FOLDER_AS_CATEGORY = False # false is better for organzing lectures into subfolders
PYGMENTS_STYLE = 'default' # without this it was using black background and light font
TIMEZONE = 'EST'
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
# Blogroll
LINKS = None
# LINKS = (('Pelican', 'http://getpelican.com/'),
# ('Python.org', 'http://python.org/'),
# ('You can modify those links in your config file', '#'),)
# https://github.com/getpelican/pelican-themes/tree/master/pelican-bootstrap3
DISPLAY_TAGS_ON_SIDEBAR=True
DISPLAY_RECENT_POSTS_ON_SIDEBAR=True
RECENT_POST_COUNT=10
# Social widget
SOCIAL = None
#SOCIAL = (('You can add links in your config file', '#'),
# ('Another social link', '#'),)
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
# instructions for installting
THEME = './themes/pelican-bootstrap3'
BOOTSTRAP_THEME = 'lumen'
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
PLUGIN_PATHS = ['./pelican-plugins', './plugins']
PLUGINS = ['i18n_subsites',
'liquid_tags.img', 'liquid_tags.video',
'liquid_tags.youtube', 'liquid_tags.vimeo',
'liquid_tags.include_code', 'tag_cloud',
'ipynb.markup', 'bootswatch_markdown_css']
# UserWarning: Pelican plugin is not designed to work with IPython versions
# greater than 1.x. CSS styles have changed in later releases.
#'liquid_tags.notebook']
CUSTOM_CSS = 'static/custom.css'
STATIC_PATHS = ['static', 'static/custom.css','lectures/unix_git','Assignments']
# banner image
BANNER = 'static/delaunay.png'
BANNER_SUBTITLE = 'Fall 2017 | Columbia University Department of Earth and Environmental Sciences'
IGNORE_FILES = ['.ipynb_checkpoints']
#IPYNB_IGNORE_CSS = True
# license
# https://github.com/getpelican/pelican-themes/tree/master/pelican-bootstrap3#content-license
CC_LICENSE = 'CC-BY-NC'