forked from benhoff/blog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
47 lines (34 loc) · 1.23 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = 'Ben Hoff'
SITENAME = "Ben's Blog"
SITEURL = 'http://benhoff.net'
PATH = 'content'
TIMEZONE = 'America/Chicago'
DEFAULT_LANG = '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
THEME = 'themes/pelican-blue'
LINKS = (('Community', 'https://community.benhoff.net'),
('Github', 'https://github.com/benhoff'),
('Youtube', 'https://www.youtube.com/channel/UChWbNrHQHvKK6paclLp7WYw'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
MENUITEMS = [('Archives', '%s/archives.html' % SITEURL),
('Community', 'https:community.benhoff.net')]
TYPOGRIFY = True
STATIC_PATHS = ['extra/CNAME', 'images', 'extra/favicon.ico']
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'},
'extra/favicon.ico': {'path': 'favicon.ico'}}
# pelican-ipynb settings
MARKUP = ('md', 'ipynb')
PLUGIN_PATHS=['plugins',]
PLUGINS = ['ipynb.markup', 'sitemap']
IGNORE_FILES = ['.ipynb_checkpoints']
SITEMAP = {'exclude': ['tag/',],
'format': 'xml'}