-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
111 lines (88 loc) · 2.63 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#!/usr/bin/env python
# -*- encoding: UTF-8 -*-
from __future__ import unicode_literals
AUTHOR = u'Universidad de La Laguna'
SITENAME = u'Sample Site'
# SITEURL = '<site_url>'
PATH = 'content'
TIMEZONE = 'Atlantic/Canary'
DEFAULT_LANG = u'en'
# Disable link generation
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
ULL_CSS_URL = 'http://static.ull.es/v3/dist/css/ull.min.css'
# Blogroll
GENERIC_BLOCKS = [
{
'fa_icon': 'fa-external-link-square',
'title': 'Sample of Links with images',
'content': [
'<a href="http://www.ull.es/" target="_blank"><img width="80%" style="margin-left: 10%; margin-right: 10%; margin-bottom: 5%;" title="Universidad de La Laguna" src="images/ull.png"></img></a>',
]
},
{
'fa_icon': 'fa-bars',
'title': 'Generic Block Title II',
'content': [
' ... You can put here HTML ... <br>',
]
},
]
LINKS = (('Universidad de La Laguna (ULL)', 'http://www.ull.es/'),)
# Social widget
"""
SOCIAL = (('Facebook', '<facebook_url>'),
('Twitter', '<twitter_url>'),
('Google plus', '<google_plus_url>'),
('Youtube', '<youtube_url>'),)
"""
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
THEME = 'themes/pelican-bootstrap3-imagenull'
# JUMBOTRON_IMAGE_URL='images/banner.jpg'
STATIC_PATHS = ['images', 'css', 'js', 'php']
# Uncomment to be able to use the contact form
# CUSTOM_JS='js/app.js'
# Páginas
PAGE_ORDER_BY = 'sortorder'
PAGE_URL = '{slug}.html'
PAGE_SAVE_AS = '{slug}.html'
PAGE_LANG_URL = '{slug}.html'
PAGE_LANG_SAVE_AS = '{slug}-{lang}.html'
# Panel de financiadores
"""
WORK_SUPPORTED_BY_HTML = (('This work is being supported by <suporter>'),
('<You can put here html, like an image>'),)
"""
# Licencia
"""
LICENSE = (
('License url'),
('License image link'),
)
"""
# Technology
"""
TECHNOLOGY = (('<You can put here html, like an image>'),)
"""
# Desactivar elementos propios de un blog
DISPLAY_RECENT_POSTS_ON_SIDEBAR = False
DISPLAY_CATEGORIES_ON_SIDEBAR = False
DISPLAY_TAGS_ON_SIDEBAR = False
DISPLAY_ARCHIVES_ON_MENU = False
TAG_SAVE_AS = ''
AUTHOR_SAVE_AS = ''
CATEGORY_SAVE_AS = ''
ARTICLE_SAVE_AS = ''
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
GITHUB_REPO = 'https://example.com/tic-ull/sample-site'
PLUGIN_PATHS = ["plugins", THEME + "/plugins", ]
PLUGINS = ['toc', 'gallery']
GALLERY_ALBUMS = {"example_1": "Example 1", "example_2": "Example 2"}
TOC_TITLE = u'Table of Content'