themes/devopsdays-theme/layouts/blog/summary.html line 11:
{{ if isset .Params "description" }}
{{ if ne .Params.descripton "" }}
{{ .Params.description | markdownify }}
The inner guard checks .Params.descripton — missing the i. That is always nil, and ne nil "" is always true, so the guard never does anything. It happens to produce the intended behaviour, which is why it has gone unnoticed.
Suggested fix: correct the spelling to .Params.description, or drop the inner if entirely since the outer isset already covers it.
Found while documenting the repo for AI coding assistants.
themes/devopsdays-theme/layouts/blog/summary.htmlline 11:The inner guard checks
.Params.descripton— missing thei. That is always nil, andne nil ""is always true, so the guard never does anything. It happens to produce the intended behaviour, which is why it has gone unnoticed.Suggested fix: correct the spelling to
.Params.description, or drop the innerifentirely since the outerissetalready covers it.Found while documenting the repo for AI coding assistants.