-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpelicanconf.dev.py
65 lines (44 loc) · 1.63 KB
/
pelicanconf.dev.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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from pelican_jupyter import markup as nb_markup
AUTHOR = 'Python Granada Org'
SITENAME = 'Python Granada'
SITEURL = ''
PATH = 'content'
THEME = "themes/buruma"
TIMEZONE = 'Europe/Madrid'
DEFAULT_LANG = 'es'
# 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
MARKUP = ("md", "ipynb")
IGNORE_FILES = [".ipynb_checkpoints"]
PLUGIN_PATHS = ["plugins"]
LIQUID_TAGS = []
PLUGINS = ["i18n_subsites", "assets", nb_markup]
IPYNB_FIX_CSS = True
IPYNB_SKIP_CSS = False
IPYNB_STOP_SUMMARY_TAGS = [('div', ('class', 'input')), ('div', ('class', 'output')), ('h2', ('id', 'Header-2'))]
IPYNB_GENERATE_SUMMARY = True
JINJA_ENVIRONMENT = {
"extensions": ["jinja2.ext.i18n"],
}
LIQUID_CONFIGS = (("IPYNB_EXPORT_TEMPLATE", "notebook.tpl", ""), )
# Blogroll
LINKS = (('Pelican', 'https://getpelican.com/'),
('Python.org', 'https://www.python.org/'),
('Jinja2', 'https://palletsprojects.com/p/jinja/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = False
SITEURL=""
# Theme config
MENUITEMS_NAVBAR = (("Asociación", f"{SITEURL}/pages/about.html"),("Código de Conducta", f"{SITEURL}/pages/coc.html"), ("COVID-19", f"{SITEURL}/pages/covid-19.html"),)
NAVBAR_STYLE = "is-primary"
THEME_LOGO = f"{SITEURL}/theme/images/logo_grande.svg"
FOOTER= "Made with ❤️ using Python from Granada. Under construction 🚧"