-
Notifications
You must be signed in to change notification settings - Fork 3
/
pelicanconf.py
49 lines (35 loc) · 1.11 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 -*- #
from __future__ import unicode_literals
AUTHOR = u'Blaze Developers'
SITENAME = u'The Blaze Ecosystem'
SITEURL = 'http://blaze.github.io/'
TITLE = 'The Blaze Ecosystem'
SUBTITLE = 'Connecting people to data'
PATH = 'content'
THEME = 'theme/'
TIMEZONE = 'UTC'
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
FEED_RSS = 'feeds/all.rss.xml'
DEFAULT_PAGINATION = 10
PLUGIN_PATHS = ["plugins"]
PLUGINS = ["page_hierarchy", "ipynb"]
PAGE_URL = '{slug}/'
PAGE_SAVE_AS = '{slug}/{slug}.html'
SLUGIFY_SOURCE = 'basename'
STATIC_PATHS = ['images', 'CNAME']
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
# ipynb plugin
MARKUP = ('md', 'ipynb')
ARTICLE_URL = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
DISQUS_SITENAME = 'blaze-ecosystem'
GOOGLE_ANALYTICS_CODE = 'UA-67320551-1'
SUMMARY_MAX_LENGTH = 10