===============
== bacardi55 ==
===============
ἕν οἶδα ὅτι οὐδὲν οἶδα

MinIndie, a Minimal Indieweb theme for Hugo, and other blog updates

- Permalink
/!\ Warning: This article is older than 555 days, make sure the content is still relevant!

As you can see (if you are on the actual page and not via an RSS reader), the theme of this blog has changed!

Since my move to hugo, I’ve not been 100% happy with the theme of this blog, even though it was the closest to what I was looking for available on the open source hugo theme list. I’m not good at all at frontend development, mainly because I don’t enjoy it too much, so I was never motivated enough to write my own…

A couple of weeks ago, before implementing the indieweb markup on this blog, I look around again and didn’t found a theme worth switching, so I updated the old one. Just after that, thanks to a toot on mastodon from @adele, I discovered smol, a minimalist theme following the smolweb guidelines. I didn’t care much about the smolweb guidelines per say (but I do like most of them), but the very minimalist version of the theme was exactly what I was looking for. It meant of course to re-adapt it to add the indieweb related markup and do other small changes.

That’s why I’m publishing MinIndie, a Minimal Hugo theme compatible with the indieweb markup (with the right config). This is my first hugo theme and hasn’t been tested outside my own blog, so it might have issues here and there… But it is opensource and available on sourcehut, so feel free to send patches!

For posterity, the homepage was:

Figure 1: screenshot of the previous theme homepage

Figure 1: screenshot of the previous theme homepage

And now is:

Figure 2: Screenshot of the new theme homepage

Figure 2: Screenshot of the new theme homepage

Other news regarding this update:

  • Gemini links in RSS feeds (either «all posts» or «gemlog») now includes gemini:// links instead of the https link to the gemini page of this blog
  • The «all posts» feeds now contains all updates, including pages
  • RSS feeds are now beautiful in browser too (read below)
  • The posts page is still h-feed compliant, but now the gemlog page is too! So both gemlog and blog can be followed via h-feed now!
  • blog posts are still h-entry compliant. Gemini article are still not accessible from this blog, only via a gemini browser
  • Categories and tags links are back in the footer and above the list of posts on the blog page

As said above, RSS feeds are now beautifully displayed in browser. Indeed, I followed a “trend” from other blog, mainly from this and that posts… It is not really useful, but I liked it and used this theme update to add it to my blog too. I admit I simply used the default pretty feed file.

It used to look like this:

Figure 3: screenshot of the rss feed unthemed

Figure 3: screenshot of the rss feed unthemed

But now looks like this:

Figure 4: screenshot of the rss feed themed with xsl

Figure 4: screenshot of the rss feed themed with xsl

This is done by using a xsl file and reference it in your xml file:

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="/rss.xsl" type="text/xsl"?>

And that will do the trick!

Hope you like the new theme, or at least don’t hate it too much, let me know :).


Contact

If you find any issue or have any question about this article, feel free to reach out to me via webmentions, email, mastodon, matrix or even IRC, see the About page for details.