Commit graph

4 commits

Author SHA1 Message Date
Alex Cabal
806939ca49 Replace Template::Emit...() functions with more generic function 2024-12-18 13:14:16 -06:00
Mike Colagrosso
7d6d04f7ca Allow author paths that don't point to www files
Authors with placeholders only, e.g. (at the time of writing):

https://standardebooks.org/ebooks/dashiell-hammet

were returning 404s because there was no directory at

/standardebooks.org/web/www/ebooks/dashiell-hammet

Now we allow calls to `Ebook::GetAllByAuthor()` for such URLs because it might
find placeholders for the author.
2024-12-15 20:17:15 -06:00
Alex Cabal
8546039b97 Comment formatting 2024-11-15 21:40:56 -06:00
Alex Cabal
ec0b81817d Restructure some files to match new URL structure 2024-11-11 11:17:04 -06:00