ads' corner

How to integrate YouTube videos into Hugo blog postings

This tutorial explains how to integrate YouTube videos into a blog posting in Hugo.

Dynamic content in static websites in Hugo

With people moving away from Twitter, mostly to Mastodon, discovering the new accounts became a problem. For people in the PostgreSQL community I created a website which lists different social media accounts.

Hugo: Count entries in Taxonomy

For the 'PostgreSQL Person of the Week' interviews I'm using Hugo as static blogging engine. Part of every interview is the list of tags, which links this interview to other similar interviews. However until recently no one really knew if a tag is popular or just used in this interview. I wanted to change this, and add the tag count behind every tag.

Avoid linebreaks in Hugo shortcodes

Shortcodes in Hugo are a neat and poweful system to avoid repating the same piece of text over and over again.

Huginn: Filter Retweets

A while ago I started using Huginn, as a replacement for IFTTT. That’s going quite well. Huginn offers more features, integrations, and especially your chains (scenarios) can be as complex as you wish. IFTTT is quite limited in this area.

I use the Twitter integration to find certain Tweets. Now this does not only find native Tweets, but also finds every Retweet made for a native Tweet. Obviously I am not interested in duplicate content.

Huginn offers a way to filter out Retweets.


Public previews in Hugo

Hugo is a static templating system. It is (mainly) used to deploy websites/blogs which don’t have and need dynamic content. The content of all pages is pre-generated, and the webserver delivers files from disk (or rather from cache, once files are loaded into memory). This approach allows for extremely fast websites, as no dynamic content is generated on every request.

While I know Hugo from work, I haven’t really used it for private projects - until recently. I have started a new project where I present interviews with people behind the PostgreSQL Project - and this is perfect for a static website. Interviews don’t change, once published.


Frau bloggt

Meine Frau ist jetzt auch unter die Blogger gegangen und berichtet uns in Zukunft unter anderem von ihren Basteltätigkeiten und Reisen. Ihr Blog ist unter: https://andrea.scherbaum.la/ zu finden.


UBERWACH plugin for serendipity

Maybe you already noted the small surveillance camera in the menu list on the right side. Hopefully the icon is green, that would be good for you. If it’s red your request comes from an IP-address known for being allocated by a German ministry or political party. Thats nice to know, isn’t it?


Blog moved

This blog moved to a new machine and at the same time the hostname was changed.

The old host is forwarding all requests, at least the GET requests (who needs to POST without prior requesting a page and get redirected? Only spammer do this …).


Fünf Dinge, die ich schon immer mal ausplaudern wollte

depesz hat mir da ein Stöckchen zugeworfen, auch wenn er es auf Polnisch verfasst hat.