3 Commits

Author SHA1 Message Date
claw 4ddf27caaf fix(nginx): return 404 for non-existent articles/ and sections/ paths
Build and Deploy / build-and-test (push) Failing after 37s
Build and Deploy / build-image (push) Has been skipped
Build and Deploy / deploy (push) Has been skipped
Previously nginx try_files fell back to /index.html for any unmatched path,
which meant orphaned article variants (old slug directories) returned HTTP 200
with the homepage content. This caused ~1,150 orphaned pages to be crawlable.

Add explicit location blocks for /articles/ and /sections/ that use =404
instead of falling back to /index.html.
2026-06-02 12:41:40 +00:00
claw 16cad3fe36 feat: integrate WebP/AVIF image optimization into build pipeline
Build and Deploy / build-and-test (push) Failing after 28s
Build and Deploy / build-image (push) Has been skipped
Build and Deploy / deploy (push) Has been skipped
- Add sharp dependency for image format conversion
- Generate WebP (quality 80) and AVIF (quality 70) variants for all raster images
- Render <picture> elements with srcset fallbacks (AVIF > WebP > original)
- SVG images remain as <img> without picture wrapper
- Update Dockerfile to install libvips for sharp, copy from public/ dir
- Add nginx cache rules for .webp and .avif files
- Add .gitignore for node_modules, public, dist
2026-05-31 16:21:03 +00:00
claw abf29e61de feat: initial CI/CD pipeline, Dockerfile, K8s manifests, build+test scripts
Build and Deploy / build-and-test (push) Failing after 3m37s
Build and Deploy / build-image (push) Has been skipped
Build and Deploy / deploy (push) Has been skipped
2026-05-31 13:31:56 +00:00