-
Notifications
You must be signed in to change notification settings - Fork 18
/
pelicanconf.py
39 lines (26 loc) · 914 Bytes
/
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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Buddycloud team'
SITENAME = u'Buddycloud'
SITEURL = ''
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = u'en'
DIRECT_TEMPLATES = ['index']
STATIC_PATHS = [ 'img', 'CNAME' ]
THEME = 'theme'
MD_EXTENSIONS = [ 'codehilite(css_class=highlight)', 'extra', 'mdext.fix_code_blocks' ]
import os, sys
sys.path.append(os.path.join(os.getcwd(), "jinjaext"))
from table_of_contents import TableOfContents as TOC
JINJA_FILTERS = {
'extract_toc_info' : TOC.extractTableOfContentsInfo,
'create_toc' : TOC.createTableOfContents,
'add_toc_hooks' : TOC.addTableOfContentsHooks
}
GOOGLE_ANALYTICS = "UA-1075750-9"
SLATE_PAGES_DIR = 'pages/slate'
PAGE_EXCLUDES = ['pages/slate']
PLUGINS = ['slate.pelican_plugin',]
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True