-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
67 lines (53 loc) · 1.9 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Mark Mikofski'
SITENAME = u'Breaking Bytes'
SITESUBTITLE = 'My personal blog about <a rel="me" href="https://fosstodon.org/@mikofski">me</a>'
SITEURL = ''
SITELOGO = '/images/70s_Marko_Mustache_cropped.jpg'
FAVICON = '/images/breakingbytes.ico'
THEME = '../pelican-themes/Flex'
PATH = 'content'
STATIC_PATHS = ['images']
TIMEZONE = 'US/Pacific'
DEFAULT_LANG = u'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
MAIN_MENU = True
# Blogroll
LINKS = (('poquito picante', 'https://poquitopicante.blogspot.com/'),
('bwanamarko', 'https://mikofski.github.io/'),
('old breaking bytes', 'https://breakingbytes.blogspot.com/'),)
# Social widget
SOCIAL = (('github', 'https://github.com/mikofski'),
('linkedin', 'https://www.linkedin.com/in/markmikofski/'),
('mastodon', 'https://fosstodon.org/@mikofski'),
("stack-overflow", "https://stackoverflow.com/users/1020470/mark-mikofski"),
('rss', 'feeds/all.atom.xml'))
MENUITEMS = (('Archives', '/archives.html'),
('Categories', '/categories.html'),
('Tags', '/tags.html'),)
CC_LICENSE = {
'name': 'Creative Commons Attribution-ShareAlike',
'version': '4.0',
'slug': 'by-sa'
}
COPYRIGHT_YEAR = 2017
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
MARKDOWN = {
'extension_configs': {
'markdown.extensions.codehilite': {'css_class': 'highlight'},
'markdown.extensions.extra': {},
'markdown.extensions.meta': {},
'markdown.extensions.toc': {},
},
'output_format': 'html5',
}
GOOGLE_GLOBAL_SITE_TAG = 'G-XB3X8X7LK5' # Your Google Analytics 4 Property ID