forked from xsf/xmpp.org
/
pelicanconf.py
36 lines (27 loc) · 962 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
SITENAME = "XMPP"
SITE_URL = ""
TIMEZONE = "Europe/Paris" #Unused (Pelican complains if you don't provide it)
DEFAULT_LANG = "en"
DEFAULT_METADATA = [
('top_menu_show', 'false'),
('top_menu_order', '-1'),
('dropdown_menu_show', 'false'),
('dropdown_menu_size', '0'),
('footer_show', 'false'),
('footer_order', '-1'),
('content_layout', 'single-column'),
('is_blog', 'false')
]
STATIC_PATHS = [ 'CNAME', 'images' ]
ARTICLE_PATHS = [ 'posts/blog', 'posts/learn' ]
ARTICLE_URL = 'posts/{blog_id}/{date:%Y}/{date:%b}/{date:%d}/{slug}'
ARTICLE_SAVE_AS = 'posts/{blog_id}/{date:%Y}/{date:%b}/{date:%d}/{slug}.html'
INDEX_SAVE_AS = 'posts/blog/index.html'
USE_FOLDER_AS_CATEGORY = False
DEFAULT_PAGINATION = 2
YEAR_ARCHIVE_SAVE_AS = 'posts/blog/{date:%Y}/index.html'
THEME = "xmpp.org-theme"
MD_EXTENSIONS = [ 'codehilite(css_class=highlight)', 'extra' ]