-
Notifications
You must be signed in to change notification settings - Fork 3
/
pelicanconf.py
76 lines (57 loc) · 2.12 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'SciPyLA'
SITENAME = 'Revista Python Científico América Latina'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'America/Argentina/Buenos_Aires'
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
# Set the article URL
ARTICLE_URL = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = 'blog/{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
STATIC_PATHS = ['img', 'pages' ]
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
MENUITEMS = [('Home', 'https://scipy-latinamerica.github.io/revista.io/index.html'),
('Conferencia', 'http://conf.scipyla.org/'),
('Contacto', 'https://scipy-latinamerica.github.io/revista.io/pages/contacto.html')]
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
THEME = 'html5-dopetrope/'
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = ['liquid_tags.notebook', 'tipue_search']
# Search
#GOOGLE_SEARCH = True
TIPUE_SEARCH = True
#TEMPLATE_PAGES = {
# 'search.html': 'search.html',
# }
DIRECT_TEMPLATES = ['index', 'tags', 'categories', 'authors', 'archives', 'search']
# Theme variables
ABOUT_TEXT = "Revista de Python orientado a las ciencias mantenida por la comunidad de SciPyLA"
ABOUT_IMAGE = 'img/scipyla.nav.svg'
ABOUT_IMAGE_LOGO = 'img/scipyla-logo.svg'
FACEBOOK_USER = 'scipyla'
TWITTER_USER = 'ScipyLA'
LINKEDIN_USER = '8344796'
YOUTUBE_USER = 'UClb88lwUvlFikmhTzVGsVGA'
GOOGLEPLUS_USER = '116952396338000992599'
TELEGRAM_USER = 'scipyla'
COPYRIGHT = 'SciPyLA'
ABOUT_LINK = 'http://scipyla.org/'