Hugo

General: Displaying Bunny Stream videos on Hugo-based Azure Static Websites

General: Displaying Bunny Stream videos on Hugo-based Azure Static Websites

I have been using Bunny Stream for hosting videos lately. I love those people. What a great service.

But I wanted to add a few videos to our SQL Down Under website that was a Hugo Azure Static Website. I added the embed code from the Bunny Stream site for the video, and what I found was:

  • The videos appeared and played on desktop versions of Chrome or Edge
  • The page appeared but no videos appeared when viewing the page from either Safari or Chrome on iOS

At first, I thought it might be a screen resolution thing, but it didn’t work on either an iPhone, or on an iPad that had the same resolution as my laptop where things did work.

2025-11-08

General: Prioritizing random adverts on Hugo-based Azure Static Websites

General: Prioritizing random adverts on Hugo-based Azure Static Websites

I posted a while back about being able to have random advertisements for our training courses in the sidebar for my blog. You’ll see one to the right of this post.

That has been working great, and every time I do a new build (each day), each page ends up with a random course advertisement.

Priorities

What I’ve now decided though, is that I didn’t want all the courses to show up with the same frequency. I wanted to assign a priority to each one, from 1 to 10.

2025-11-05

General: Adding a rich RSS feed to a Hugo-based Azure Static Website

General: Adding a rich RSS feed to a Hugo-based Azure Static Website

I posted a while back about moving to using Hugo-based Azure Static Websites for my blog and other simple sites.

One thing I’ve had a number of requests for over the years, is a richer RSS feed for my blog. In particular, while I have a coverImage tag in my front matter, the coverImage didn’t appear in the default RSS feed. I had a few requests about that one. So I set about trying to add a better RSS feed.

2025-11-01

General: Removing Hugo footer credits in Azure Static Websites

General: Removing Hugo footer credits in Azure Static Websites

I posted a while back about moving to using Hugo-based Azure Static Websites for my blog and other simple sites.

One of the first things I noticed when my site was deployed, was that there were Hugo credits in the footer of the site. While that’s not necessarily a bad thing, I wanted to remove them. I went looking in all the places that I thought I could change to override this, to no avail.

2025-07-29

General: Randomizing advertisements on Hugo-based Azure Static Websites

General: Randomizing advertisements on Hugo-based Azure Static Websites

I posted a while back about moving to using Hugo-based Azure Static Websites for my blog and other simple sites. One thing that I wanted to achieve is to have random advertisements for our training courses in the sidebar for the blog. You’ll see one to the right of this post.

Clearly a challenge with a static website, is how you can have random content shown. Let me tell you what I’ve done.

2025-07-21

General: Auto-populating future posts in Hugo-based Azure Static Websites

General: Auto-populating future posts in Hugo-based Azure Static Websites

I posted a while back about moving to using Hugo-based Azure Static Websites for my blog and other simple sites. I love having source code based websites.

However, one thing I wasn’t expecting was about how future blog posts would be handled. I tend to generate posts well in advance, and I wanted them to appear all by themselves when the appropriate date came.

I thought that even a static website would just show you things within the date range. But that’s not how it works. When you build a Hugo based site, it generates a site that includes all the posts that should be shown up to the time you build it.

2025-07-17

General: Controlling Hugo version in Azure Static Web Apps

General: Controlling Hugo version in Azure Static Web Apps

A while back, I moved almost all of the simple websites that I work with, away from WordPress and over to Azure Static Web Apps. Overall, it has been a really good option for me.

For a start, having all my blog posts, etc. now properly in source control is wonderful. And I really enjoy being able to edit in Markdown.

For this to work though, you need a static website generator. After spending quite some time checking out YouTube videos, I opted to use Hugo as the generator. I was going to use MainRoad as the template for the site, but while it looked great, the development for it seemed to be pretty dead.

2025-06-07