You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] blog/summary.html guards on a misspelled param (.Params.descripton) #16153
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.
Activity