pelicanconf.py

Sat, 12 Mar 2016 17:37:51 +0100

author
David Douard <david.douard@logilab.fr>
date
Sat, 12 Mar 2016 17:37:51 +0100
changeset 37
d37f233794c0
parent 36
9507107a1133
child 39
3e2fca8a5e7c
permissions
-rw-r--r--

[10MHz] is part of a series (hopefully)

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'
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
9 CONTACTS = (('twitter', 'https://twitter.com/twttrAcc'),)
26
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
10 SITEURL = 'https://whatever.sdfa3.org'
0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
11
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
12 PATH = 'content'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
13
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
14 THEME = 'theme'
0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
15 TIMEZONE = 'Europe/Paris'
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 DEFAULT_LANG = u'en'
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
18
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
19 # Feed generation is usually not desired when developing
26
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
20 #FEED_ALL_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
21 #CATEGORY_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
22 #TRANSLATION_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
23 #AUTHOR_FEED_ATOM = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
24 #AUTHOR_FEED_RSS = None
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
25 FEED_RSS = 'feeds/rss.xml'
acdf2e764a88 minor updates
David Douard <david.douard@logilab.fr>
parents: 24
diff changeset
26 FEED_ALL_RSS = 'feeds/all.rss.xml'
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
27 FEED_ATOM = 'feeds/atom.xml'
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
28 FEED_ALL_ATOM = 'feeds/all.atom.xml'
0
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 # Blogroll
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
31 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
32 ('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
33 ('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
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 # Social widget
34
871fcc94f63e [config] add twitter stuff an links to eevblog and elo
David Douard <david.douard@logilab.fr>
parents: 26
diff changeset
37 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
38 )
0
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
39
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
40 DEFAULT_PAGINATION = 10
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
41
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
42 # Uncomment following line if you want document-relative URLs when developing
e7f601f9db69 initial setup
David Douard <david.douard@logilab.fr>
parents:
diff changeset
43 #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
44
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 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
46
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
47 PLUGIN_PATHS = ['pelican-plugins',]
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
48 PLUGINS = ['better_figures_and_images',
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
49 'sitemap',
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
50 'feed_summary',
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
51 'assets',
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
52 'series',
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
53 'related_posts',
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
54 ]
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
55 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
56 TYPOGRIPFY = True
36
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
57 SINGLE_AUTHOR = True
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
58 MINT=True
9507107a1133 [theme] use a personalized bricks theme
David Douard <david.douard@logilab.fr>
parents: 34
diff changeset
59 SITEMAP = {'format': 'xml'}

mercurial