Preserving URL paths for backwards compatibility
In this version I notice I'm processing files inconsistent from how our Ruby version did it:
Here, a file
content/pagename.html is rendered as
output/pagename.html, whereas the Ruby program converted
output/pagename/index.html with the sole exception of the site's home page.
It's necessary to do it the old way, to prevent 404s on other sites that link to CLnet. For instance,
common-lisp.net/about would become a 404 as the page would have moved to
I'm not sure if there is an elegant way to solve this because the home page
index.html is an edge case. Is there an elegant and easy way to exclude
content/index.html when creating a list of files within
content/? Just call filter with an if expression? I just have a gut instinct against a single exception but maybe it's unavoidable?