March 1, 2022
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.
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.