Posts tagged with #shortcode

Recent Posts (Page 1)

Youtube

Youtube

A responsive and very fast shortcode to add youtube videos to your Hugo website. Add this module [[module.imports]] path = "github.com/davidsneighbour/hugo-youtube" disable = false ignoreConfig = false ignoreImports = false Latest Version v1.1.8 (2022-09-19) Fix to this version hugo mod get github.

Photo by Joanna Kosinska via Unsplash

Hugo Shortcode: Taglist

I needed a Hugo shortcode to show a list of posts that belonged to a certain tag, which is quite easy. Add the following to layouts/shortcodes/taglist.html or whatever name you like to use for the shortcode.