How to manage this Hugo based page from my Android phone in 2026

This TIL post is basically an update to my three year old post “Hugo, meet Android”. I recently got a new phone and thus had to re-do the setup of my mobile blogging pipeline. So, basically, allow me to checkout, modify, test, commit and push the sources of this Hugo based static page under Android. While doing so I noticed some necessary changes and improvements, and also wanted to make use of my Taskfile which does most of the heavy lifting now, so here are my updated steps. ...

June 19, 2026 · 4 min

How to detect Termux in a script

If you need to detect whether you are running in Termux from a bash script, check if $PREFIX contains the string com.termux: echo $PREFIX | grep -o "com.termux" This can also be used to set a variable in a Taskfile: vars: TERMUX: '{{and .PREFIX (contains "com.termux" .PREFIX)}}' Source

January 23, 2023 · 1 min
A smartphone lying on a table, showing Markor in editing mode on the Markdown of this blog post.

Hugo, meet Android

Update from 2026-06-19: I went through these steps again after getting a new phone and had to change some things here and there while also improving other bits. You can find an update here. One thing that kept me from blogging more so far was the difficulty in working on posts on my phone. So after switching this blog over to Hugo I decided to see if I couldn’t improve on this situation. ...

January 21, 2023 · Updated June 19, 2026 · 5 min
Mastodon Alt