This repository has been archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpelicanconf.py
92 lines (71 loc) · 2.29 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright (c) 2021-present Kaleidos Ventures SL
from __future__ import unicode_literals
import os
DEBUG=1
AUTHOR = 'Taiga'
AUTHOR_EMAIL = '[email protected]'
SITENAME = 'Taiga Blog'
SITEURL = os.environ.get('SITEURL', 'https://blog.taiga.io')
SITESUBTITLE = 'Taiga is a project management platform for startups and agile developers & designers'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_ATOM = 'feeds/atom.xml'
FEED_ALL_ATOM = 'feeds/all.atom.xml'
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
FEED_RSS = 'feeds/rss.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
# Blogroll
LINKS = (('Taiga.io', 'https://taiga.io'),
('Mailing list', 'https://groups.google.com/forum/#!forum/taigaio'),
('Kaleidos', 'https://www.kaleidos.net/'),
('Penpot', 'https://penpot.app/'),
)
# Social widget
SOCIAL = (('Twitter', 'https://twitter.com/taigaio'),
('Github', 'https://github.com/kaleidos-ventures'),
('Instagram', 'https://www.instagram.com/taiga.io/'),
('Linkedin', 'https://www.linkedin.com/company/taigaio'),
)
# Social metatags plugin settings
TWITTER_META_SITE = "@taigaio"
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
# Extra files to copy
STATIC_PATHS = [
'images',
'extra/robots.txt',
'extra/humans.txt',
'extra/favicon.ico'
]
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/humans.txt': {'path': 'humans.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
}
#settings for Pelican
DEFAULT_CATEGORY = 'General'
THEME = 'theme/taiga'
DISQUS_SITENAME = "taiga-blog"
#Plugins
PLUGIN_PATHS = ['plugins']
PLUGINS = ['gravatar', 'sitemap', 'open_graph', 'twitter_meta']
PRIVACY_POLICY_URL = "https://taiga.io/privacy-policy"
SITEMAP = {
"format": "xml",
"priorities": {
"home": 1.0,
"articles": 0.8,
"indexes": 0.5,
"authors": 0.6,
}
}