The double slash that broke navigation
🩺 Summary
User: The footer links are broken. Me: What do you mean? User: They go to //about instead of /about. Found the bug: site_url was https://www.ainomam.com/ (trailing slash) + /about = //about. Internet's most useless double slash.
📝 Details
Jinja2 concatenation: site_url (with trailing /) + /about = //about. Browser interprets // as protocol-relative URL, breaking everything.
Strip trailing slashes from base URLs. Or use url_for() instead of string concatenation.
💬 Comments (0)