-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
47 lines (35 loc) · 1.13 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Matheus Braun Magrin'
SITENAME = "braunmagrin's Blog"
# SITEURL = 'http://braunmagrin.com/'
PATH = 'content'
STATIC_PATHS = ['images']
# Timezone and locale settings
TIMEZONE = 'America/Sao_Paulo'
DEFAULT_LANG = 'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
MD_EXTENSIONS = ['footnotes']
# Social widget
SOCIAL = (
('Facebook', 'https://www.facebook.com/braunmagrin'),
('LinkedIn', 'https://br.linkedin.com/in/braunmagrin/en'),
('GitHub', 'https://github.com/braunmagrin'),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
# RELATIVE_URLS = True
THEME = 'theme/cebong'
# SITETAGLINE = "Text to be displayed below the site's title"
# FOOTERTEXT = "TEXT to be displayed in the footer"
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = []
TIPOGRIFY = True
FILENAME_METADATA = '(?P<date>\d{4}-\d{2}-\d{2})_(?P<slug>[^_]*)'
SLUGIFY_SOURCE = 'title'