-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpelicanconf.py
62 lines (47 loc) · 1.77 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'OpenStreetMap Nicaragua'
SITENAME = u'MapaNica.net - OpenStreetMap Nicaragua'
SITETITLE = u'MapaNica.net'
SITESUBTITLE = 'OpenStreetMap Nicaragua'
SITEDESCRIPTION = 'El mejor mapa de Nicaragua - libre y colaborativo'
SITEKEYWORDS = 'OpenStreetMap, Nicaragua, Mapas, Transporte público, Datos Abuertos, Open Data, Software Libre'
USE_LESS = True
SITEURL = 'https://www.mapanica.net'
SITELOGO = '/images/mapanica.png'
THEME = 'themes/momotombo'
FAVICON = '/images/favicon.ico'
ROBOTS = 'index, follow'
PAGE_URL = '{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
AUTHOR_SAVE_AS = False
CATEGORY_SAVE_AS = False
TAG_SAVE_AS = False
ARCHIVES_SAVE_AS = False
DIRECT_TEMPLATES = ('index', 'embedd')
CC_LICENSE = { 'name': 'Creative Commons Attribution-ShareAlike', 'version':'4.0', 'slug': 'by-sa' }
PATH = 'content'
TIMEZONE = 'America/Managua'
DEFAULT_LANG = u'es'
OG_LOCALE = u'es_NI'
DEFAULT_DATE_FORMAT = ('%d %B %Y')
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
FEED_ALL_RSS = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Social widget
SOCIAL = (('envelope-o', 'mailto:contacto@mapanica.net'),
('facebook', 'http://www.facebook.com/mapanica'),
('twitter', 'http://www.twitter.com/osm_ni'),
)
MENUITEMS = (('Mapa de Nicaragua', '/index.html', 'map'),
('Rutas Managua', 'http://rutas.mapanica.net', 'public-transport'),
('Mapas para móviles', '/mapas-moviles.html', 'mobile'),
('Comunidad', '/comunidad.html', 'community'),
('Descargar datos', 'http://datos.mapanica.net', 'datos'),
)
DEFAULT_PAGINATION = False