-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpelicanconf.py
More file actions
79 lines (61 loc) · 1.78 KB
/
pelicanconf.py
File metadata and controls
79 lines (61 loc) · 1.78 KB
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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import datetime
AUTHOR = "MM"
SITENAME = "CODEC UCL"
SITEURL = ''
SITEDESCRIPTION = "UCL CODEC and related Projects"
SITELOGO = "/images/CODEC.jpg"
BROWSER_COLOR = "#333333"
PYGMENTS_STYLE = "monokai"
COPYRIGHT_YEAR = datetime.date.today().year
TIMEZONE = "Europe/London"
DEFAULT_LANG = "en"
OUTPUT_PATH = "docs/"
PATH = "content"
STATIC_PATHS = [
"extra","images",
]
EXTRA_PATH_METADATA = {
"extra/favicon.ico": {"path": "favicon.ico"},
}
# Creative Commons Licensing
CC_LICENSE = {
'name': 'Creative Commons Attribution-ShareAlike',
'version': '4.0',
'slug': 'by-sa'
}
# Theme
THEME = "Flex"
# Main page
MAIN_MENU = False
HOME_HIDE_TAGS = True
DISPLAY_PAGES_ON_MENU = False
PAGES_SORT_ATTRIBUTE = "order"
LINKS = (('news', '/pages/news.html#news'),
('our projects', '/pages/our-projects.html#our-projects'),
('team', '/pages/our-team.html#our-team'),
(' contact us', '/pages/contact-us.html#contact-us') )
# Social
SOCIAL = (
('twitter', 'https://twitter.com/neiloxtoby'),
('github', 'https://github.com/noxtoby'),
('google','https://scholar.google.com/citations?user=uWfRPHEAAAAJ&hl=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
DEFAULT_PAGINATION = 10
THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE = True
THEME_COLOR_ENABLE_USER_OVERRIDE = True
USE_LESS = True
# Plugins
#PLUGIN_PATHS = ['plugins', 'plugins/pelican-embed-tweet']
#PLUGINS = ['render_math', 'embed_tweet']
#JINJA_ENVIRONMENT = {}
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True