Hi!
I'm having some problems with my urls for page media data files.
When I include
[bid.pdf](bid.pdf)
in my Markdown, the generated slug-style html is
--- html
<a href="/grav/pdf-test/bid.pdf">bid.pdf</a>
That looks good. However, when I click through, I get a 404 Error. I have the same problem with .txt files, but images work. Is there something I need to do to get the routing for data files?
(For reference, the file is accessible via directory-style links. So, from Twig
<a href="{{ page.media.files[bid.filename].url }}">{{ bid.name }}</a>
to html
--- html
<a href="http://localhost/grav/user/pages/08.pdf-test/bid.pdf">bid.pdf</a>
works. Though I'd actually rather have the other link format here too.)
Thanks!