Commit Graph

2 Commits

Author SHA1 Message Date
suphicakir b1f2c4c875 feat: show view count badge next to reading time
- GET /api/views/counts/ returns { slug: count } for all published posts
- Eye-icon badge on post cards and post header, filled client-side;
  space is reserved so there is no layout shift, hidden if the API fails

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 09:21:21 +03:00
suphicakir 486e34baf3 fix: track src/data JSON files (gitignore matched every data/ dir)
The view-counter ignore rule 'data/' also matched src/data/, so the site's
JSON content was never committed and clean builds (Dokploy) failed.
Anchor it to the repository root: '/data/'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 08:45:30 +03:00