/
pelicanconf.py
118 lines (101 loc) · 3.85 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
import os
import sys
sys.path.append(os.curdir)
AUTHOR = 'Tom Leverstone'
SITENAME = 'Tom Leverstone'
ABOUT_TITLE = "Hi! I'm Tom 👋"
DESCRIPTION = 'A father, software engineer, and hobbies collector. You may know me as Tom Gurion. Now it\'s Tom Leverstone.'
SITEURL = ''
PATH = 'content'
THEME = 'theme'
TIMEZONE = 'Europe/London'
DEFAULT_LANG = 'en'
ARTICLE_ORDER_BY = 'order'
DEFAULT_DATE = 'fs' # Get date from file creation time if missing
# 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
# Don't generate anything but index and articles
ARCHIVES_SAVE_AS = ''
AUTHORS_SAVE_AS = ''
AUTHOR_SAVE_AS = ''
CATEGORIES_SAVE_AS = ''
CATEGORY_SAVE_AS = ''
TAGS_SAVE_AS = ''
TAG_SAVE_AS = ''
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
STATIC_PATHS = [
'images',
'pdfs',
'extra/favicon.ico',
'extra/CNAME',
]
EXTRA_PATH_METADATA = {
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/CNAME': {'path': 'CNAME'},
}
PLUGINS = ['pelican_youtube']
SOCIAL = (
('fas fa-blog', 'https://blog.leverstone.me'),
('fab fa-github', 'https://github.com/Nagasaki45'),
('fab fa-linkedin', 'https://www.linkedin.com/in/tleverstone/'),
('fab fa-mastodon', 'https://mastodon.online/@nagasaki45'),
('fa fa-envelope', 'mailto:tleverstone@gmail.com'),
)
HOBBIES = [
{
'title': 'Code',
'content': '''
Although my job is in software, coding is also one of my main hobbies!
My main language is python.
I use it regularly for web development, data analysis, and other bits and bobs.
I like elixir for highly concurrent webapps.
Frontend-wise I will usually go for react / next.js with typescript, or plain old HTML/CSS/JS.
I'm familiar with way too many creative coding languages: max/MSP and Pd, arduino and processing, some unity3d, blender and a bit more.
'''.strip(),
},
{
'title': 'Music',
'content': '''
I play an instrument since... forever!
Started with sax and piano as a kid. Picked up bass guitar at 14 and played in a few rock bands since then.
Got into electronic music in 2017 and shortly after started performing improvised modular jams under the alias <a href="https://nagasaki45.leverstone.me"><i>nagasaki45</i></a>.
Recently teamed up with <a href="https://lwlsn.github.io/digitalselves-web/"><i>digital selves</i></a> to perform together as <i>IDMT?</i>
'''.strip(),
},
{
'title': 'Board games',
'content': '''
Enjoy playing board games for many years, and got deeper into the hobby ~2018.
Favourite game at the moment is <a href="https://boardgamegeek.com/boardgame/155821/inis">Inis</a>.
I play on a weekly basis, so if you're into that drop me a line!
'''.strip(),
},
{
'title': 'Sports',
'content': '''
Bouldering regularly at <a href="https://www.mileendwall.org.uk/">Mile End Climbing Wall</a>.
On a good day I might even manage a V5.
Recently got into cycling, and especially bikepacking.
Always try to escape the city on the weekends for a night in the tent and some scenic rides.
There's no such thing as too many hobbies, right?
'''.strip(),
},
{
'title': 'Crafts',
'content': '''
Started sewing to make bags for my bike.
Now developing some ambition for larger projects.
Get my saw and chisels out and do some carpentry when I need new furniture.
Also, design and build some simple modules for my synth.
You see, my hobbies feed themselves.
'''.strip(),
},
]