-
Notifications
You must be signed in to change notification settings - Fork 3
/
pelicanconf.py
87 lines (67 loc) · 2.59 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = 'INCF/OCNS members'
SITENAME = 'INCF/OCNS Software WG'
TIMEZONE = 'Europe/London'
DEFAULT_LANG = 'en'
USE_FOLDER_AS_CATEGORY = False
LOAD_CONTENT_CACHE = False
# 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
DISPLAY_PAGES_ON_MENU = False
INDEX_SAVE_AS = 'blog_index.html'
# Blogroll
LINKS = (
('Home', '/index.html'),
('Updates', '/blog_index.html'),
('Membership', '/pages/members.html'),
('Resources', '/pages/resources.html'),
('Contact', '/pages/contact.html'),
('INCF', 'https://www.incf.org/'),
('OCNS', 'https://www.cnsorg.org/'),
)
# Social widget
ICONS = (
('fas fa-mail-bulk', 'Subscribe to the mailing list', 'https://lists.incf.org/cgi-bin/mailman/listinfo/incf-ocns-software-wg'),
('fas fa-comments', 'Chat to us on Matrix', 'https://matrix.to/#/#OCNS_SoftwareWG:gitter.im'),
('fas fa-mail-bulk', 'Join us on GitHub discussions', 'https://github.com/OCNS/SoftwareWG/discussions/12'),
('fab fa-github', 'Join us on GitHub', 'https://github.com/OCNS/SoftwareWG'),
('fab fa-twitter', 'Follow INCF on Twitter', 'https://twitter.com/INCForg/'),
('fab fa-twitter', 'Follow OCNS on Twitter', 'https://twitter.com/CNSorg/'),
('fas fa-rss', 'View RSS feeds', '/feeds/all.atom.xml'),
('fas fa-search', 'Search the website using DuckDuckGo', 'https://duckduckgo.com/?q=site%3Aocns.github.io/SoftwareWG/&ia=web'),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = False
ARTICLE_PATHS = ['']
ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}.html'
ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}.html'
ARCHIVES_SAVE_AS = 'pages/archives.html'
YEAR_ARCHIVE_SAVE_AS = 'posts/{date:%Y}/index.html'
MONTH_ARCHIVE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/index.html'
TAG_URL = 'tag/{slug}/'
TAG_SAVE_AS = 'tag/{slug}/index.html'
CATEGORY_URL = 'category/{slug}/'
CATEGORY_SAVE_AS = 'category/{slug}/index.html'
STATIC_PATHS = [
'images',
'extras'
]
EXTRA_PATH_METADATA = {
'extras/yeti-bootstrap.min.css': {'path': 'theme/css/bootstrap.min.css'},
}
# Theme
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['assets', 'share_post', 'headerid']
HEADERID_LINK_CHAR = "⋆"
THEME = 'themes/pelican-alchemy/alchemy'
BOOTSTRAP_CSS = '/theme/css/bootstrap.min.css'
SITESUBTITLE = "The INCF/OCNS Software Working Group"
DESCRIPTION = "The INCF/OCNS Software Working Group"
FILENAME_METADATA = ''
TYPOGRIFY = True