-
Notifications
You must be signed in to change notification settings - Fork 19
/
pelicanconf.py
49 lines (36 loc) · 1.33 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
#!/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
DISPLAY_FOOTER = False
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/ads.txt']
EXTRA_PATH_METADATA = {'extra/CNAME': {'path': 'CNAME'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/ads.txt': {'path': 'ads.txt'},}
# pelican-ipynb settings
MARKUP = ('md', 'ipynb')
PLUGIN_PATHS=['plugins',]
PLUGINS = ['ipynb.markup', 'sitemap']
IGNORE_FILES = ['.ipynb_checkpoints']
SITEMAP = {'exclude': ['tag/',],
'format': 'xml'}