-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
59 lines (43 loc) · 1.67 KB
/
pelicanconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'ihommani'
SITENAME = u'Thinking about...'
SITETITLE = u'Thinking about...'
SITESUBTITLE = u'Yet another opiniated blog'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
# Use pelican-themes -l to list available themes
THEME = "Flex"
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
# Blogroll
#LINKS = (('Pelican', 'http://getpelican.com/'),
# ('prendre un café', 'https://nicolas.perriault.net/'),
# ('videlalvaro.github.com', 'http://videlalvaro.github.io'),
# )
########PLUGINS#########
PLUGIN_PATHS = ['/home/ismael/Github/pythonProjects/blog/pelican-plugins']
PLUGINS = ["summary", 'gravatar']
# Social widget
# Adding social links wich will appear in the footer
SOCIAL = (('twitter', 'http://twitter.com/ihommani'),
('github', 'http://github.com/ihommani'),
('flickr', 'http://www.flickr.com/photos/chaiyachaiya/'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
#Specifying special content directories for linking internal contents
STATIC_PATHS = ['images']
#This is to suround code with a css class 'pgcss', and to automatically display lineNumber
PYGMENTS_RST_OPTIONS = {'classprefix': 'pgcss', 'linenos': 'table'}
PYGMENT_STYLE = 'vim'
DISPLAY_TAGS_ON_SIDEBAR = True
DISPLAY_RECENT_POSTS_ON_SIDEBAR = True
#To show gitHub ribbon
GITHUB_URL = 'https://github.com/ihommani'
# Gravatar information
AUTHOR_EMAIL='[email protected]'
GRAVATAR_SIZE=210