pelicanconf.py

Sat, 05 Mar 2016 22:09:21 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 05 Mar 2016 22:09:21 +0100
changeset 26
acdf2e764a88
parent 24
89689c6e9cf4
child 33
053b462b3983
child 34
871fcc94f63e
permissions
-rw-r--r--

minor updates

0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
1 #!/usr/bin/env python
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
2 # -*- coding: utf-8 -*- #
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
3 from __future__ import unicode_literals
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
4
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
5 AUTHOR = u'David Douard'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
6 SITENAME = u'Whatever'
26
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
7 SITEURL = 'https://whatever.sdfa3.org'
0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
8
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
9 PATH = 'content'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
10
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
11 TIMEZONE = 'Europe/Paris'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
12
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
13 DEFAULT_LANG = u'en'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
14
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
15 # Feed generation is usually not desired when developing
26
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
16 #FEED_ALL_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
17 #CATEGORY_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
18 #TRANSLATION_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
19 #AUTHOR_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
20 #AUTHOR_FEED_RSS = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
21 FEED_RSS = 'feeds/rss.xml'
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
22 FEED_ALL_RSS = 'feeds/all.rss.xml'
0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
23
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
24 # Blogroll
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
25 LINKS = (('Pelican', 'http://getpelican.com/'),
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
26 ('Python.org', 'http://python.org/'),
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
27 ('Jinja2', 'http://jinja.pocoo.org/'),
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
28 ('You can modify those links in your config file', '#'),)
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
29
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
30 # Social widget
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
31 SOCIAL = (('You can add links in your config file', '#'),
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
32 ('Another social link', '#'),)
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
33
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
34 DEFAULT_PAGINATION = 10
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
35
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
36 # Uncomment following line if you want document-relative URLs when developing
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
37 #RELATIVE_URLS = True
24
89689c6e9cf4 [hp8904a] add two blogs about the HP8904A and a small update of the about page
David Douard <david.douard@logilab.fr>
parents: 0
diff changeset
38
89689c6e9cf4 [hp8904a] add two blogs about the HP8904A and a small update of the about page
David Douard <david.douard@logilab.fr>
parents: 0
diff changeset
39 STATIC_PATHS = ['images', 'pdfs']
89689c6e9cf4 [hp8904a] add two blogs about the HP8904A and a small update of the about page
David Douard <david.douard@logilab.fr>
parents: 0
diff changeset
40
89689c6e9cf4 [hp8904a] add two blogs about the HP8904A and a small update of the about page
David Douard <david.douard@logilab.fr>
parents: 0
diff changeset
41 PLUGIN_PATHS = ['pelican-plugins',]
89689c6e9cf4 [hp8904a] add two blogs about the HP8904A and a small update of the about page
David Douard <david.douard@logilab.fr>
parents: 0
diff changeset
42 PLUGINS = ['better_figures_and_images',]
89689c6e9cf4 [hp8904a] add two blogs about the HP8904A and a small update of the about page
David Douard <david.douard@logilab.fr>
parents: 0
diff changeset
43 RESPONSIVE_IMAGES = True

mercurial