pelicanconf.py

Sat, 12 Mar 2016 17:36:14 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 12 Mar 2016 17:36:14 +0100
changeset 35
bb011397a99c
parent 34
871fcc94f63e
child 36
9507107a1133
permissions
-rw-r--r--

[why] add few metadata

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'
34
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
7 SITESUBTITLE = u"A blog, sort of"
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
8 TWITTER_USERNAME = u'douardda'
26
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
9 SITEURL = 'https://whatever.sdfa3.org'
0
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 PATH = 'content'
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 TIMEZONE = 'Europe/Paris'
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 DEFAULT_LANG = u'en'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
16
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
17 # Feed generation is usually not desired when developing
26
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
18 #FEED_ALL_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
19 #CATEGORY_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
20 #TRANSLATION_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
21 #AUTHOR_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
22 #AUTHOR_FEED_RSS = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
23 FEED_RSS = 'feeds/rss.xml'
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
24 FEED_ALL_RSS = 'feeds/all.rss.xml'
0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
25
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
26 # Blogroll
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
27 LINKS = (('Pelican', 'http://getpelican.com/'),
34
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
28 ('Logilab.org', 'https://www.logilab.org/'),
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
29 ('EEVBlog', 'https://www.eevblog.com/'),
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
30 )
0
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 # Social widget
34
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
33 SOCIAL = (('twitter', 'https://twitter.com/douardda'),
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
34 )
0
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 DEFAULT_PAGINATION = 10
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
37
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
38 # Uncomment following line if you want document-relative URLs when developing
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
39 #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
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 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
42
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 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
44 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
45 RESPONSIVE_IMAGES = True
34
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
46 TYPOGRIPFY = True

mercurial