mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-05 23:00:16 +00:00
07fd8fff2f
Register create_slug as 'slugify' Jinja2 filter to ensure templates generate the exact same slugs as the server-side route matching. This fixes 404 errors where template-generated slugs like "abaddon--apollyon" didn't match server-side slugs like "abaddon-apollyon". Now both use the same logic: remove special chars, collapse multiple hyphens/spaces into single hyphens. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>