Menu

Post image 1
Post image 2
1 / 2
0

YAML Frontmatter for Content Pipelines: 50+ Articles Without an INDEX.md

DEV Community·孫昊·27 days ago
#D8b21XXw
Reading 0:00
15s threshold

TL;DR : Stop maintaining INDEX.md by hand. Add YAML frontmatter to every paste-ready file, then a 30-line scanner generates the index automatically. I have 50+ articles, 14 newsletters, and 6 SKU files all auto-indexed via this pattern. The problem with INDEX.md You start writing article 1. You add it to INDEX.md. Article 2 — you add it. Article 3, 4, 5... By article 30, INDEX.md is out of sync. You forgot to add 3 articles. You added one with the wrong status. The status: ready flag is wrong because you published it but didn't update INDEX.md. This is the classic "human-maintained source of truth" anti-pattern. Don't do this.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More