-
Notifications
You must be signed in to change notification settings - Fork 1
/
pelicanconf.py
93 lines (75 loc) · 2.25 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'CED'
SITENAME = u'Certified Edible Dinosaurs'
SHORT_SITENAME = u'CED'
SITEURL = ''
PATH = 'content'
STATIC_PATHS = ['downloads', 'images']
TIMEZONE = 'Europe/Amsterdam'
DEFAULT_LANG = u'en'
READERS = {'html': None}
THEME = 'themes/dino'
# 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
ARTICLE_URL = '{category}-{slug}.html'
ARTICLE_SAVE_AS = '{category}-{slug}.html'
ARCHIVES_SAVE_AS = 'archive/index.html'
YEAR_ARCHIVE_SAVE_AS = 'archive/{date:%Y}/index.html'
MONTH_ARCHIVE_SAVE_AS = 'archive/{date:%Y}/{date:%m}/index.html'
CATEGORY_THUMBNAILS = {
'hitb-2015-teaser-ctf': 'hitb-2015-teaser-ctf.png',
'hitb-2016-ctf': 'hitb-2016-ctf.png',
'hitb-2017-ctf': 'hitb-2016-ctf.png'
}
MARKDOWN = {
'extension_configs': {
'markdown.extensions.codehilite': {
'css_class': 'highlight',
'guess_lang': False,
'linenums': False
},
'extra': {},
},
'output_format': 'html5',
}
MEMBERS = [
{
"nickname": "doskop",
"firstname": "Ingmar",
"lastname": "Steen",
"dino": "tyrannosaurus hex",
"aliases": ["hyriand"],
"wechall": "http://www.wechall.net/profile/doskop"
},
{
"nickname": "dsc",
"firstname": "Sander",
"lastname": "Ferdinand",
"dino": "dsclodocus",
"aliases": ["bigheks"],
"wechall": "http://www.wechall.net/profile/bigheks"
},
{
"nickname": "Zen",
"firstname": "Jeroen",
"lastname": "Bosch",
"dino": "steganosaurus",
"aliases": [],
"wechall": ""
}
]
MEMBER_GET = lambda name: next((z for z in MEMBERS if z["nickname"] == name), name)
TYPOGRIFY = True
# Blogroll
LINKS = (('pwnypack', 'https://github.com/edibledinos/pwnypack'),
('cuckoo sandbox', 'http://www.cuckoosandbox.org/'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
DIRECT_TEMPLATES = ['index', 'categories', 'authors', 'archives', 'tags', 'dino', 'members']