AlexCharlton / site-generator

A command-line static site generator written in Common Lisp
BSD 2-Clause "Simplified" License
43 stars 7 forks source link

article slugs with '#' character are unviewable #19

Open brendanhowell opened 3 years ago

brendanhowell commented 3 years ago

If the article slug contains a hash character, the URLs are interpreted by the browser as anchor references leading to a 404. Ideally, these characters would be ignored or replaced when generating a slug.

brendanhowell commented 3 years ago

Upon closer inspection, I have discovered that this is trivial to work around by adding a :slug to my article. I don't know if this merits an actual fix but it might be nice.