-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpelicanconf.py
58 lines (41 loc) · 1.27 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
AUTHOR = u'Tomas Strand'
SITENAME = u'fik1'
SITEURL = 'http://fik1.net'
AUTHOR_EMAIL = u'[email protected]'
AUTHOR_PHONE = u'+358 50 5649 847'
TIMEZONE = 'Europe/Helsinki'
DEFAULT_LANG = u'en'
DEFAULT_DATE = 'fs'
THEME = 'pelican-purple'
STATIC_PATHS = ["images", ]
MARKUP = 'md'
GITHUB_URL = 'http://github.com/straend/'
GOOGLE_ANALYTICS = 'UA-6766930-16'
DISQUS_SITENAME = 'fik1'
PLUGINS = ['pelican.plugins.latex',]
# Should we show a vCard of the author, its only visible in the source
VCARD = True
AUTHOR_ADDRESS = (
('street-address', u'Simsalö'),
('postal-code', u'01120'),
('locality', u'Västerskog'),
('country-name', u'Finland'),
)
FEED_ALL_RSS = 'feeds/all.rss.xml'
CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
# Social widget
SOCIAL = (
('github', 'https://github.com/straend/'),
('linkedin', 'http://fi.linkedin.com/in/strandt'),
('facebook', 'https://facebook.com/strandt/'),
('google-plus', 'https://plus.google.com/112133210939722958756/'),
)
ARTICLE_URL = '{date:%Y}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = '{date:%Y}/{date:%d}/{slug}/index.html'
TAG_URL = 'tags/{slug}/'
TAG_SAVE_AS = 'tags/{slug}/index.html'
CATEGORY_URL = '{slug}/'
CATEGORY_SAVE_AS = '{slug}/index.html'
DEFAULT_PAGINATION = 5