pelicanconf.py

changeset 34
871fcc94f63e
parent 26
acdf2e764a88
child 36
9507107a1133
equal deleted inserted replaced
32:6ede33beeeed 34:871fcc94f63e
2 # -*- coding: utf-8 -*- # 2 # -*- coding: utf-8 -*- #
3 from __future__ import unicode_literals 3 from __future__ import unicode_literals
4 4
5 AUTHOR = u'David Douard' 5 AUTHOR = u'David Douard'
6 SITENAME = u'Whatever' 6 SITENAME = u'Whatever'
7 SITESUBTITLE = u"A blog, sort of"
8 TWITTER_USERNAME = u'douardda'
7 SITEURL = 'https://whatever.sdfa3.org' 9 SITEURL = 'https://whatever.sdfa3.org'
8 10
9 PATH = 'content' 11 PATH = 'content'
10 12
11 TIMEZONE = 'Europe/Paris' 13 TIMEZONE = 'Europe/Paris'
21 FEED_RSS = 'feeds/rss.xml' 23 FEED_RSS = 'feeds/rss.xml'
22 FEED_ALL_RSS = 'feeds/all.rss.xml' 24 FEED_ALL_RSS = 'feeds/all.rss.xml'
23 25
24 # Blogroll 26 # Blogroll
25 LINKS = (('Pelican', 'http://getpelican.com/'), 27 LINKS = (('Pelican', 'http://getpelican.com/'),
26 ('Python.org', 'http://python.org/'), 28 ('Logilab.org', 'https://www.logilab.org/'),
27 ('Jinja2', 'http://jinja.pocoo.org/'), 29 ('EEVBlog', 'https://www.eevblog.com/'),
28 ('You can modify those links in your config file', '#'),) 30 )
29 31
30 # Social widget 32 # Social widget
31 SOCIAL = (('You can add links in your config file', '#'), 33 SOCIAL = (('twitter', 'https://twitter.com/douardda'),
32 ('Another social link', '#'),) 34 )
33 35
34 DEFAULT_PAGINATION = 10 36 DEFAULT_PAGINATION = 10
35 37
36 # Uncomment following line if you want document-relative URLs when developing 38 # Uncomment following line if you want document-relative URLs when developing
37 #RELATIVE_URLS = True 39 #RELATIVE_URLS = True
39 STATIC_PATHS = ['images', 'pdfs'] 41 STATIC_PATHS = ['images', 'pdfs']
40 42
41 PLUGIN_PATHS = ['pelican-plugins',] 43 PLUGIN_PATHS = ['pelican-plugins',]
42 PLUGINS = ['better_figures_and_images',] 44 PLUGINS = ['better_figures_and_images',]
43 RESPONSIVE_IMAGES = True 45 RESPONSIVE_IMAGES = True
46 TYPOGRIPFY = True

mercurial