-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
105 lines (87 loc) · 3.18 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
94
95
96
97
98
99
100
101
102
103
104
105
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u''
SITENAME = u'Rolisteam'
SITEURL = 'http://localhost:8000'
PATH = 'content'
STATIC_PATHS = ['iconfiles','images','images/tuto','php','ip.php','version.xml']
PLUGIN_PATHS = ['/home/renaud/www/pelican-plugins']
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
GITHUB_URL = "https://invent.kde.org/kde/rolisteam"
THEME = "theme"
#bootstrap*
#bricks* red to blue
# Flex
#gum
#notebook
# notmyidea-cms
# pelican-blue
#plumage
#tuxlite_tbs
#JINJA_ENVIRONMENT = {
# "extensions": ['jinja2.ext.i18n'],
#}
# 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
INDEX_SAVE_AS = 'blog/index.html'
INDEX_URL = 'blog/'
PAGE_SAVE_AS = '{slug}.html'
PAGE_URL = '{slug}.html'
# Blogroll
LINKS = (('News', '/blog/index.html'),
('Screenshots', '/screenshots.html'),
('Tutorials', '/tutoriallist.html'),
('Contact', '/contact.html'),
('References', '/references.html'),
('Roll on Discord', '/discord.html'),
('Roll on twitter', '/twitter.html'),
('Friends', '/friends.html'),
('Connection Test', '/testip.html'),
('Convert CharacterSheet', '/convertsheet.html'),)
# Social widget
SOCIAL = (('KDE', 'https://invent.kde.org/kde/rolisteam'),
('Facebook', 'https://www.facebook.com/rolisteam'),
('Youtube', 'https://youtube.com/c/RolisteamYT'),
('Twitter', 'https://twitter.com/rolisteam'),
('Twitch', 'https://www.twitch.tv/rolisteam'),
('Discord', 'https://discord.gg/MrMrQwX'),
('Liberapay', 'https://liberapay.com/rolisteam/donate'),
('Patreon', 'https://www.patreon.com/rolisteam'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
MARKDOWN = {
'extension_configs': {
# https://pythonhosted.org/Markdown/extensions/index.html#officially-supported-extensions
'markdown.extensions.codehilite': {'css_class': 'highlight'},
'markdown.extensions.meta': {},
'markdown.extensions.sane_lists': {},
'markdown.extensions.smarty': {},
# 'markdown.extensions.toc': {'permalink': True},
'mdx_video': {},
},
'output_format': 'html5',
# Allow numbered lists to not start with 1. Used in following article:
# https://kevin.deldycke.com/2016/12/falsehoods-programmers-believe-about-falsehoods-lists/
# See: https://pythonhosted.org/Markdown/reference.html#lazy_ol
'lazy_ol': False,
}
MENUITEMS = (
('Documentation', 'http://doc.rolisteam.org/'),
('Forum', 'http://forum.rolisteam.org'),
)
#THEME_STATIC_PATHS (['static'])
#PLUGINS = ['i18n_subsites',]
I18N_SUBSITES = {
'fr': {
'SITENAME': 'Rolisteam',
'THEME' : 'theme',
'LINKS' : (('Actualités','blog/index.html'),('Captures', 'screenshots.html'),('Tutoriaux', 'tutoriallist.html'),('Contact', 'contact.html'),('Références', 'references.html'),('Dés dans Discord', 'discord.html'),('Dés dans twitter', 'twitter.html'),('Partenaires', 'friends.html'))
}
}