Posts

Github Action to Create New Content in Hugo

In posts On

This is what it looks like
This is what it looks like

I use Hugo a lot for my web development work, and I think it is pretty great. The one problem with it for many non-technical people I work with is that there is no CMS feature, they want a website administration page where they can do the usual. There are some open source headless CMS systems built for Hugo out there, but I have not had the chance to explore them yet and I don’t like throwing a client on new software just to decide I don’t like it in a few months, so I wanted to do something automated, but avoid having to install vscode, git, ssh-keys and etc in order to make simple edits I decided to do something with GitHub actions.

Tunnel Localhost Server Through Cloudflare

In posts On

A tunnel to your desktop

This is something I have done in the past and it usually involved pretty in-depth knowledge of the shell and networking, but now there is a free service that makes it oh-so-easy to spin up a tunnel with a public human readable domain name for temporary viewing of your local network development environment on the internet.

Styling a RSS feed With XSL

In posts On

A styled RSS feed makes your site more usable

When you put a link to your rss / atom feed on your website it is a link to a raw xml file designed for feed readers such as feedly to import them and provide the reader with all their internet in one place.

Pines Image Gallery With Hugo

In posts On

A super simple alpinjs image gallery

The first place I used this is on the recipe page about my mom’s family recipe cookbook

Adding Leaflet to Ryder Theme

In posts On

I made this quick and easy shortcode to get started using leaflet.js in the Ryder Theme for Hugo Websites, as I add more features supported by leaflet to the shortcode I might update this page.

Extreme Geomagnetic Storm Photography

In posts On
Pulled to Black

Pulled to Black

On May 10, 2024 solar flares caused extreme G5 conditions to be observed

Recipe Template for Ryder Theme

In posts On

Optimize Recipe Content with the Schema

The recipe templates for The Ryder Theme for Hugo websites are progressing well. Today I released an update that creates the schema.org json-ld specification tags for a recipe. This allows your recipe content to show up as “rich content” in search engines and social media platforms.

Tag Cloud

In posts On

Cloudy days a hoy-hoy

I found this partial to create a tag cloud on Mert Bakir’s personal website and I have been adapting the code to suit my needs for this project, for now I’m just leaving it under this project page until I can decide what to do with it.

Ingredients Section

In posts On

Check out the new Ingredients Taxonomy pages

Using Taxonomy effectively

As part of the recipe template configuration being developed for The Ryder Theme for Hugo websites, a new taxonomy is created for ingredients. Ingredients are not the same as recipeIngredients; they are defined as an array in the front matter. I didn’t want a taxonomy page generated for every single recipe ingredient, so I created a separate variable. The recipeIngredients are used to display the ingredients on the page and for the recipe schema, ensuring the pages are properly displayed as recipe rich results in Google and other search engines.

Home Feed Filtering and Colorization

In posts On

Limit your home page feed by Section, Category or Tag

You can now set params in your hugo.toml file to keep any pesky pages off your homepage that you may not wish to promote for whatever reason.

Link Graveyard

In posts On

Where I bury my favorite resources

Mom's Family Recipes Cookbook

In recipes On
Be Inspired
Be Inspired

Photos of all the pages

Hugo Snippets

In posts On

Get the first of something in a collection

For example the first jpg image in the current directory starting with the word feature.

Pick a Squares Game

In posts On
I created a pick-a-squares game template, aka the Super Bowl squares. It is still a work in progress, but I hope to have it snazzy in time for next year. Take a look at the template. Project Goals Ability to enter people into squares Generate random score rows with animated flourish Presentation mode for big screen action with controller to enter periodic scores Calculate payouts based on price of a square Project Timeline Launch in time for SB LIX success Pick a Square: Head on over to the project page

Hugo Helpers

In posts On

Here are some useful partials I use in this theme.

layouts/_default/_markup/render-image.html

This replaces the default markup template for rendering an image when the markdown code ![Alt Text](/path/to/img.jpg) is used. It calls another partial you have to add to your theme or layout directory in your site called ImageConverter.