Blog: vibe check #3
This commit is contained in:
parent
2b22883eba
commit
a0800c936b
6 changed files with 63 additions and 44 deletions
|
|
@ -16,21 +16,17 @@ blog_posts = glob.glob('./src/content/**/*.md')
|
||||||
hash_map = {}
|
hash_map = {}
|
||||||
|
|
||||||
for file in blog_posts:
|
for file in blog_posts:
|
||||||
|
try:
|
||||||
post = frontmatter.load(file)
|
post = frontmatter.load(file)
|
||||||
print(post['title'])
|
|
||||||
slug = post['slug']
|
slug = post['slug']
|
||||||
frontmatter_keys = post.keys()
|
frontmatter_keys = post.keys()
|
||||||
|
|
||||||
published_date = post['date']
|
published_date = post['date']
|
||||||
print(published_date)
|
|
||||||
|
|
||||||
|
|
||||||
# We want a datetime, note a date
|
# We want a datetime, note a date
|
||||||
if isinstance(published_date, date):
|
if isinstance(published_date, date):
|
||||||
published_date = datetime.combine(published_date, datetime.min.time())
|
published_date = datetime.combine(published_date, datetime.min.time())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
details = {
|
details = {
|
||||||
'title': post['title'],
|
'title': post['title'],
|
||||||
'date': published_date.isoformat(),
|
'date': published_date.isoformat(),
|
||||||
|
|
@ -39,7 +35,11 @@ for file in blog_posts:
|
||||||
'slug': slug
|
'slug': slug
|
||||||
}
|
}
|
||||||
hash_map[slug] = details
|
hash_map[slug] = details
|
||||||
|
except:
|
||||||
|
print("!!!")
|
||||||
|
print("Caught Error in following file, ignoring")
|
||||||
|
print(file)
|
||||||
|
print("---")
|
||||||
|
|
||||||
with open('./src/content/posts.json', "w") as file:
|
with open('./src/content/posts.json', "w") as file:
|
||||||
json.dump(hash_map, file)
|
json.dump(hash_map, file)
|
||||||
|
|
|
||||||
|
|
@ -1,19 +0,0 @@
|
||||||
---
|
|
||||||
|
|
||||||
title: "My Top Albums of 2020"
|
|
||||||
author: "Thomas Wilson"
|
|
||||||
date: 2021-01-27
|
|
||||||
draft: false
|
|
||||||
slug: "2021-01-27-top-albums-2020"
|
|
||||||
tags:
|
|
||||||
- project
|
|
||||||
- albums
|
|
||||||
---
|
|
||||||
|
|
||||||
Just a quick blog post to highlight that I've published my 2020 _Top Albums of the Year_. You can find it [here](/albums-2020). Seriously, go check it out.
|
|
||||||
|
|
||||||
I really enjoy making little specially art-directed pages like this. It feels very "this is what the internet was made for". It's just a quirky little bespoke designed page which oozes my love for music. No tracking, no adverts, just a quirky font and cool colour scheme.
|
|
||||||
|
|
||||||
If you want to take a look at last year's albums, check out my [Top Albums of 2019](/albums-2019)
|
|
||||||
|
|
||||||
Anyway, hope you're keeping well.
|
|
||||||
35
src/content/blog/2022-05-05-vibe-check-3.md
Normal file
35
src/content/blog/2022-05-05-vibe-check-3.md
Normal file
|
|
@ -0,0 +1,35 @@
|
||||||
|
---
|
||||||
|
title: "Vibe Check #3"
|
||||||
|
author: Thomas Wilson
|
||||||
|
date: 2022-05-06T21:08:00Z
|
||||||
|
slug: 2022-05-06-vibe-check-3
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
Three of the past four weeks have been a four-day work week. It's been wonderful. And yet still I'm posting this a week later than I'd like. The weather has been overcast, but everything in balance, even good weather. Still, _some_ rain would be nice.
|
||||||
|
|
||||||
|
To burden the spring metaphor further, April has often felt like it's in service to future things. Professionally, there's a lot of flow, with little turbulence (but high variation). Personally, I'm doing things which bring me joy. I don't feel a craving to have done something, but rather to be doing.
|
||||||
|
|
||||||
|
I've re-started one-one French tuition with a woman on the internet living in the South of France, who doesn't speak much (any) English. But we converse happily enough for an hour a week while I stumble my way through understanding 15% of what's said to me. It's tough, but I think it's getting easier.
|
||||||
|
|
||||||
|
I've read (mostly via audiobooks), and continued writing everyday. I've purchased more inks for my pens (after purging my collection 5+ years ago). Writing feels joyful.
|
||||||
|
|
||||||
|
My task management system is being tested by a lot of things that need doing. It's the corporially-struggling canary in the mines of my productivity. I'm still undecided if the pressure of knowing the things I'm _not_ doing outweighs the benefits of knowing the things I'm not doing. It's also okay to delete, defer, and re-schedule things. Past me was optimistic about what present me could do.
|
||||||
|
|
||||||
|
While we're moaning, I've also cut down on snacking as much as I could. Nothing sweet before lunch, and no unintentional snacking between meals only. No boredom biscuits. I hate to say it, but I feel so much lighter during the day, and now I find myself less hungry less often. It took a few days to move past severe snack withdrawl. Your body isn't always your friend, it's just a ~~serviceable~~ good house.
|
||||||
|
|
||||||
|
Highlights of the month include:
|
||||||
|
|
||||||
|
- Sewing some spring-themed cushions, to replace the Christmas themed cushions (it is May)
|
||||||
|
- Taking an adventure-themed staycation: climbing, canoeing, and cycling (plus a lunch after each) in a three day window. Day four was recovery.
|
||||||
|
- Being given Easter eggs and chocolate. I _love_ chocolate (see snacking note above)
|
||||||
|
- Seeing a school friend for their thirtieth birthday, and regressing ~50% of my life away with people I've not seen in about as long
|
||||||
|
- Drinking red wine with a best friend while overlooking the botanical garden in Oxford
|
||||||
|
|
||||||
|
Books I've read this month:
|
||||||
|
|
||||||
|
- [Shadow of the Gods](https://www.hive.co.uk/Product/John-Gwynne/The-Shadow-of-the-Gods/25534879), by John Gwynn. Strong recommend for this book for anyone with even a passing interest in fantasy. Really fun, great concept, clearly written, there's a Rat God and a Dragon God. Yes yes.
|
||||||
|
- [Leviathan Wakes](https://www.hive.co.uk/Product/James-S-A-Corey/Leviathan-Wakes--Book-1-of-the-Expanse-now-a-Prime-Original-series/6888165), by James S A Carey. Another strong recommend. It's a book with space ships, and I'm far more versed in dead gods and trees that fight (see above), but this sci-fi romp has great characters draped over an epic plot. I look forward to reading the entire series.
|
||||||
|
- [This Party's Dead](https://www.hive.co.uk/Product/Erica-Buist/This-Partys-Dead--Grief-Joy-and-Spilled-Rum-at-the-Worlds-Death-Festivals/26655491), by Erica Buist. Picked this one up on a whim because I'm a sucker for a book about death. I wasn't expecting it to be so memoir-y, but I've not put it down yet so she's doing something right.
|
||||||
|
- [Islam Explained](https://blackwells.co.uk/bookshop/product/Islam-Explained-by-Ahmad-Rashid-Salim-author/9781646113231),, by Ahmad Rashid Salim. After realising that I knew precious little about the core beliefs of one of the world's major religions, I thought I'd do the bear minimum and read an "introduction to" book. This book does exactly that, but sometimes with too much verbal padding.
|
||||||
|
- [Amongst our Weapons](https://www.hive.co.uk/Product/Ben-Aaronovitch/Amongst-Our-Weapons--The-Brand-New-Rivers-Of-London-Novel/26655429), by Ben Aaronovitch. The latest in Aaronovitch's *Rivers of London* urban fantasy series, which is secretly a love letter to London but with river gods. This is the first one I'm reading while not living in London and it's exactly the same feeling, I love it.
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -89,6 +89,7 @@
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
gap: var(--spacing-base);
|
gap: var(--spacing-base);
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post {
|
.post {
|
||||||
|
|
@ -96,6 +97,7 @@
|
||||||
padding: var(--spacing-md);
|
padding: var(--spacing-md);
|
||||||
transition: 0.2s;
|
transition: 0.2s;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post:hover {
|
.post:hover {
|
||||||
|
|
|
||||||
|
|
@ -46,12 +46,13 @@ body {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
min-height: 100vh;
|
min-height: 100vh;
|
||||||
background-color: var(--gray-100);
|
background-color: var(--gray-100);
|
||||||
padding: 24px 0;
|
padding: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.thomaswilson-container .section {
|
.thomaswilson-container .section {
|
||||||
width: 95vw;
|
padding: 24px;
|
||||||
max-width: 700px;
|
width: 100%;
|
||||||
|
max-width: 750px;
|
||||||
font-size: 1.19rem;
|
font-size: 1.19rem;
|
||||||
line-height: 134%;
|
line-height: 134%;
|
||||||
padding-bottom: var(--spacing-base);
|
padding-bottom: var(--spacing-base);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue