-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpelicanconf.py
More file actions
71 lines (55 loc) · 1.89 KB
/
Copy pathpelicanconf.py
File metadata and controls
71 lines (55 loc) · 1.89 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'znotdead'
SITENAME = u'Notes'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
# 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/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
SOCIAL = ()
USE_FOLDER_AS_CATEGORY = True
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
# https://github.com/znotdead/pelican-themes/tree/master/pelican-bootstrap3
THEME = '../pelican-bootstrap3/'
CUSTOM_CSS = 'static/css/main.css'
CUSTOM_JS = [
'/static/js/jquery-latest.js',
'/static/js/jquery.tablesorter.min.js',
'/static/js/main.js',
]
STATIC_PATHS = ['static']
LINKS = ()
FAVICON = 'static/img/ico/logo.png'
SITELOGO = 'static/img/ico/logo.png'
SITELOGO_SIZE = 50
TOUCHICON = 'static/img/ico/logo.png'
CATEGORIES_LOGO = True
# http://pygments.org/demo/218030/
#PYGMENTS_STYLE = 'vim'
PYGMENTS_STYLE = 'monokai'
MD_EXTENSIONS = ['nl2br', 'tables', 'fenced_code', 'codehilite(css_class=highlight)',]
DISPLAY_CATEGORIES_ARTICLES_AS_LIST = ('songs', 'car', 'knitting', 'modeling', 'programming',
'recipes', 'vim',)
# Plugins
#from pelican_tag_cloud_by_category import tag_cloud_by_category
PLUGIN_PATHS = ['../pelican_tag_cloud_by_category/',]
PLUGINS = ['tag_cloud_by_category', ]
DISPLAY_TAGS_FOR_CATEGORY = True
DISPLAY_TAGS_INLINE = True
#DISQUS_SITENAME = 'znotdeadnotes'
#GOOGLE_ANALYTICS = 'UA-57013075-1'