]> danix's work - danix.xyz-2.git/commit
Fix article list template to display articles without pinned parameter
authorDanilo M. <redacted>
Wed, 15 Apr 2026 20:21:22 +0000 (22:21 +0200)
committerDanilo M. <redacted>
Wed, 15 Apr 2026 20:21:22 +0000 (22:21 +0200)
commita8dbba5efbc8879db833b7a7b902b0a0f446e935
tree4e0d35d089c47bb0af6606a75319d79e205ed1c5
parentbdce585ecc814b148827d9fb2a5fa4b2afe546e7
Fix article list template to display articles without pinned parameter

- Handle undefined .Params.pinned gracefully by checking for nil/"" values
- This allows articles without explicit pinned param to appear in regular posts section
- Added check: if where clause returns no unpinned posts, search for nil/empty params
- Articles test index now has proper TOML frontmatter with title

Co-Authored-By: Claude Haiku 4.5 <redacted>
content/en/articles/_index.md
themes/danix-xyz-hacker/layouts/_default/list.html