-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpelicanconf.py
More file actions
68 lines (51 loc) · 1.94 KB
/
Copy pathpelicanconf.py
File metadata and controls
68 lines (51 loc) · 1.94 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'arisut'
SITENAME = "Arisut's website"
SITETITLE = "Arisut's website"
SITESUBTITLE = 'オタクに理解のあるギャル、Linux エコシステムで活動するオープンソース低レイヤー開発者です。 Gentoo Kernel Project Leader, Gentoo Kernel Security, kci-dev and GKernelCI creator'
SITEURL = 'https://aliceinwire.github.io'
SITELOGO = SITEURL + '/profile.jpg'
FAVICON = SITEURL + '/favicon.ico'
PATH = 'content'
TIMEZONE = 'Asia/Tokyo'
THEME = "theme"
DEFAULT_LANG = 'en'
MAIN_MENU = True
STATIC_PATHS = ['images', 'extra']
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/profile.jpg': {'path': 'profile.jpg'},
}
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml'
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
#LINKS = (('Gentoo', 'https://wiki.gentoo.org/wiki/User:Alicef'),
# ('rss', '//aliceinwire.github.io/feeds/all.atom.xml'))
# Social widget
SOCIAL = (
('bluesky', 'https://bsky.app/profile/yami-arisu.bsky.social'),
('threads', 'https://www.threads.com/@gyaru_arisu'),
('x', 'https://x.com/arisu_yamikawa'),
('mastodon', 'https://fosstodon.org/@alicef'),
('github', 'https://github.com/aliceinwire'),
('rss', 'https://aliceinwire.github.io/feeds/all.atom.xml'))
DEFAULT_PAGINATION = 10
DEFAULT_METADATA = {
'status': 'draft',
}
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
# Pigment config
PYGMENTS_STYLE = 'monokai'
PLUGIN_PATHS = ['plugins/']
PLUGINS = ['pelican_comment_system']
PELICAN_COMMENT_SYSTEM = True
PELICAN_COMMENT_SYSTEM_IDENTICON_DATA = ('author',)
PELICAN_COMMENT_SYSTEM_DIR = '../comments'