Shared Nextcloud file - without JS requirement?

I want to use the legal and privacy links on the login-page.
I don´t want to create any manual pages outside my ecosystem.

So I created an Impressum.md and Privacy.md within the admin’s files app.
I shared it via public link and put it onto the login page via the theming app.

works nice so for.
but, if I remember, these pages need tob e accessible without JS. But the shared pages require JS
any other idea?

thank you
Rello