Is there any way to actually support this? I understand that static assets can be added to the assets/ directory in the theme, but this does not preserve the existing url structure. I understand that custom routes can be added to load a handlebar template that contains this content, but Ghost forces trailing slashes, and errors on any attempt to upload a route without it.
Have I missed anything, or is this simply not possible?
No, I’m afraid that doesn’t work. I did try it to be sure, but it makes sense that it doesn’t; if it did, you’d be able to request the other files in the root of the theme such as the README file and *.hbs template files.
Thanks so much for following up. I just tried again, and indeed a test.txt file at the root of the theme does work as expected. I’m not sure now what made me believe it didn’t before.