Slide 22
Slide 22 text
Advanced Configuration
My current configuration
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- #
3 from __future__ import unicode_literals
4
5 AUTHOR = u'Jaime Arias'
6 SITENAME = u"Himito's Blog"
7 SITEURL = ''
8
9 PATH = 'content'
10 TIMEZONE = 'Europe/Paris'
11 DEFAULT_LANG = u'en'
12
13 # Blogroll
14 LINKS = (('Pelican', 'http://getpelican.com/'),
15 ('You can modify those links in your config file', '#'),)
16
17 # Social widget
18 SOCIAL = (('You can add links in your config file', '#'),
19 ('Another social link', '#'),)
20
21 DEFAULT_PAGINATION = 10
22
23 # Theme
24 THEME = 'themes/pelican-sober'
25
26 # Plugins
27 PLUGIN_PATHS = ['plugins']
28 PLUGINS = ['pelican-cite']
29
30 # Configuration of pelican-cite
31 PUBLICATIONS_SRC = 'content/files/mybiblio.bib'
Jaime Arias, Inria Grenoble Rhône-Alpes (2016) Creating Static Sites with Pelican ♡ 14/19
14/19