pelicanconf.py

Sat, 20 Feb 2016 23:26:37 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 20 Feb 2016 23:26:37 +0100
changeset 25
a0031622ab30
parent 24
89689c6e9cf4
child 5
0a3a363225f8
permissions
-rw-r--r--

add pelican-plugins to .hgignore

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'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
7 SITEURL = ''
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
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
16 FEED_ALL_ATOM = None
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
17 CATEGORY_FEED_ATOM = None
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
18 TRANSLATION_FEED_ATOM = None
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
19 AUTHOR_FEED_ATOM = None
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
20 AUTHOR_FEED_RSS = None
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
21
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
22 # Blogroll
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
23 LINKS = (('Pelican', 'http://getpelican.com/'),
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
24 ('Python.org', 'http://python.org/'),
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
25 ('Jinja2', 'http://jinja.pocoo.org/'),
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
26 ('You can modify those links in your config file', '#'),)
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
27
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
28 # Social widget
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
29 SOCIAL = (('You can add links in your config file', '#'),
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
30 ('Another social link', '#'),)
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
31
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
32 DEFAULT_PAGINATION = 10
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 # Uncomment following line if you want document-relative URLs when developing
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
35 #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
36
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
37 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
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 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
40 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
41 RESPONSIVE_IMAGES = True

mercurial