-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpelicanconf.py
71 lines (57 loc) · 1.86 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
from decouple import config
import os, sys
SITENAME = 'Python Sul - 2024'
SITEYEAR = 2024
SITEURL = config('SITE_URL', default='')
PATH = os.path.join(os.getcwd(), 'blog/content')
SITEMAP = {
'format': 'xml',
'exclude': ['tags.html', 'categories.html', 'authors.html', 'archives.html']
}
ARTICLE_ORDER_BY = 'date'
TIMEZONE = 'America/Sao_Paulo'
DEFAULT_LANG = 'pt-br'
# OLD_EVENTS
OLD_EVENTS = (
('2023','/2023'),
)
MENU = (
('#intro','Início', True),
('#pre-about','Sobre', False),
('#pre-keynotes','Keynotes', False),
('#pre-lineup','Cronograma', False),
('#pre-location', 'Local', False),
('#pre-sponsorship','Patrocínio', False),
('#pre-code-conduct','Código de Conduta', False),
('/blog','Blog', False),
)
# Social widget
SOCIAL = (
('instagram','https://www.instagram.com/pythonsul'),
('twitter', 'https://twitter.com/PythonSul'),
('telegram', 'https://t.me/PythonSulBR'),
('linkedin', 'https://www.linkedin.com/in/python-sul/'),
)
DEFAULT_PAGINATION = False
SITE_META_KEYWORDS = f"Python Sul {SITEYEAR}, evento python, python, pythonsul, comunidade python, python rio grande do sul, comunidade"
SITE_META_DESCRIPTION = "Evento da comunidade Python do sul do pais, com intuito de popularizar e disseminar o conhecimento da linguagem python"
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
EVENTO = {
"data": "2024",
"data_completa": "2024",
"local": "Florianopolis",
"call_for_papers_link": '',
"inscricao_link": '',
}
CATEGORIES_SAVE_AS = ''
ARCHIVES_SAVE_AS = ''
TAGS_SAVE_AS = ''
AUTHORS_SAVE_AS = ''
if 'IS_BLOG' in os.environ:
parent_path = os.path.dirname(os.path.abspath('blog'))
sys.path.append(parent_path)
from blog.blog_pelicanconf import *