/avatar.png

Javi C

A personal website for random thoughts and writings.

emacs config shared

I have shared my emacs config in codeberg: https://codeberg.org/jcastp/emacs.d After years of reading other people’s configs, copying really useful snippets, and a little bit of tinkering myself, I have finally taken the step to share my config. If I’ve learned something from other people’s examples, perhaps someone can get something useful from mine (and I hope so). The config is long, has many parts moving, things I use, things I don’t, code I still need to understand how it works but I know what it does, and there are some bits really tailored to myself, but I tried to document as much as possible why they are there and what they do.

How to create series in the LoveIt theme - Hugo

LoveIt is an amazing theme for Hugo; it has a lot of features, it’s slick, good looking, and I find it quite good for reading. That being said, it lacks something I needed: the ability to create series. After reading documentation and testing, I finally came up with something to get the series feature in LoveIt theme. Create the taxonomy A series is, in essence, a tag we apply to several pieces of related content, stating that they should be read in order.

How to verify Mastodon account in Hugo and LoveIt theme

I recently joined Mastodon, the open source and decentralized social network, quite similar to Twitter. One of the things you can do in Mastodon is to verify your account using an external resource, such as a blog or a domain. To do so, you have to insert a html code like this in your blog: <a rel="me" href="https://mastodon.online/@jcastp">Mastodon</a> and then add that blog URL in your Mastodon profile. Simple, right?

Migration from Pelican to Hugo

I recently migrated my blog from Pelican, a python based static site generator, to Hugo, based on Go. Why? Pelican is good, flexible and has many capabilities, but there were some updates that changed the behavior underneath, some themes got abandoned, and it required some time to have it work again as I want. Hugo means starting from zero, but it is well maintained and documented and, although I had to invest some time, I am now in a live platform, while Pelican seems to be going less and less maintained and used by the community.

Six shots inside me

Based on https://old.reddit.com/r/WritingPrompts/comments/rza0pdn/wp_i_had_six_shots_in_me_two_were_bourbon_three/ I had six shots in me. Two were bourbon. Three were Pfizer. One was a. 38 slug that the doc never bothered to fish out of my shoulder. And on a night like this I was feeling all of em. I knew the full moon wasn’t going to help but, god, I didn’t expect all the cursed plaguing the city just after the sun abandoned the streets.

Asalto al tren del dinero

Vamos, juntaletras, tómate una copa de algo fuerte, a ver si conseguimos detener ese temblor. Y no te preocupes, que la pago yo, que tenemos algo que celebrar. No, no, insisto. Licor de pera de Kravia; eso despeja y fortalece la mente. ¿Dónde lo dejamos la última vez? ¡Ah, sí! Tommy y su perro. Qué pesado con el maldito chucho, todo el día con que quería uno, no se callaba ni debajo del agua.