-
Notifications
You must be signed in to change notification settings - Fork 1
/
pelicanconf.py
55 lines (41 loc) · 1.57 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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
AUTHOR = u'Jodie Burchell'
SITENAME = u'Standard error'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = u'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
DEFAULT_PAGINATION = 5
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
# These are my nice configurations
THEME = os.path.join(os.path.dirname(os.path.realpath(__file__)), "theme")
ARCHIVES_URL = 'archives.html'
TYPOGRIFY = True
ARTICLE_URL = 'blog/{date:%Y}/{date:%m}/{slug}.html'
ARTICLE_SAVE_AS = 'blog/{date:%Y}/{date:%m}/{slug}.html'
AUTHOR_GITHUB = 't-redactyl'
AUTHOR_TWITTER = 't_redactyl'
STATIC_PATHS = ['images', 'extra/robots.txt', 'extra/favicon.png', 'figure']
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.png': {'path': 'favicon.png'}
}
SITESUBTITLE = u'learnings and projects in data science'
SITE_DESCRIPTION = u"My name is Jodie Burchell and I'm a data scientist living in the beautiful city of Berlin, Germany. This blog is a collection of my projects and things I've learned using Python, R, SQL and other tools. The opinions expressed here are my own and do not reflect on my employer."
# Google embed plugin
PLUGINS = ['google_embed', 'pelican_jsmath', ]
OUTPUT_PATH = 'output/'
# MARKDOWN = {
# 'extensions': ['attr_list'],
# 'output_format': 'html5'
# }