-
Notifications
You must be signed in to change notification settings - Fork 2
/
pelicanconf.py
64 lines (48 loc) · 1.84 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = 'Ashley Anderson'
SITENAME = ':wq'
SITESUBTITLE = 'a catalog of stuff I happen to write down'
SITEURL = '.'
PATH = 'content'
STATIC_PATHS = ['images', 'images/projects', 'extra/CNAME', 'notebooks']
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'},}
SLUGIFY_SOURCE = 'title'
COLOR_SCHEME_CSS = 'tomorrow_night.css' # 'monokai.css'
PYGMENTS_RST_OPTIONS = {'linenos' : 'table'}
DEFAULT_METADATA = {'Status' : 'draft'}
# USE_FOLDER_AS_CATEGORY = True
DEFAULT_DATE_FORMAT = '%A %B %d, %Y'
# ARTICLE_URL = '{date:%Y}/{date:%m}/{slug}.html'
# ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{slug}.html'
ARTICLE_URL = '{date:%Y}/{date:%m}/{slug}'
ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{slug}/index.html'
PAGE_URL = '{slug}/'
PAGE_SAVE_AS = '{slug}/index.html'
TIMEZONE = 'America/New_York'
DEFAULT_LANG = 'en'
PLUGIN_PATHS = ['/Users/aanderson/src/Not Work/pelican-plugins']
PLUGINS = ['render_math', 'sitemap']
MATH_JAX = {'align' : 'left', 'indent' : '3cm'}
# 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 = (('Pelican', 'https://getpelican.com/'),
# ('Python.org', 'https://www.python.org/'),
# ('Jinja2', 'https://palletsprojects.com/p/jinja/'),
# ('You can modify those links in your config file', '#'),)
# Social widget
# 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
THEME = './theme'
THEME_STATIC_DIR = './theme/static'
HEADER_COVER = '/images/piestewa_1024.jpg'
GITHUB_URL = 'https://github.com/aganders3'
TWITTER_URL = 'https://twitter.com/aganders3'