- One cannot assume
.Params.tags
will always be set. So I’d recommand usingwith
before anything:
{{ with .Params.tags }}{{ delimit . ", "}}{{ end }}
- Are you confident none of your entries have a single string as
tags
instead of an array of strings?
---
title: Something
tags: Arts And Craft
---