Poradnik
1 min czytania
content/blog
Prohibitions
- Do NOT commit articles with German text; only Polish allowed (multi-commit history: 5d6a9ed, b7a2643, f7b0b2b)
- Do NOT use fancy quotes in YAML frontmatter; use ASCII quotes only (24c75dd, 333a08e)
- Do NOT include external author names; use 'Zespół niemieckieubezpieczenia.de' (0c5f57b)
- Do NOT link to helberg.info or external CTAs; remove/rewrite (96ade90)
- Do NOT use hard-coded dates; date and originalDate fields required
When Changing
- Before adding new blog post → validate YAML with scripts/find-broken-yaml.js
- Before changing slug → update redirects in next.config.ts (many examples present)
Conventions
- YAML frontmatter: title, metaTitle, description, date (YYYY-MM-DD), originalDate, author, slug, tags
- slug: Polish lowercase with hyphens, no German words
- Internal links: absolute paths starting with /, verify they exist (8dec9b8 fixed 2719 broken links)
- Meta descriptions: real content, not placeholder (94bed2e)