Let’s see if I understood this: Do you need these two files to be placed in root? www.example.com/browserconfig.xml
Or available on each path level?
If on root you’d need to create a Content Type that only has a TextArea, fill that in with any text and have a page template that just takes that data and renders it with data-th-utext. So each of these files will be content that contains text.
I need it to be accessible from the root I assume? but what worries me is the path to the files inside it.
So imagine I have a page template that renders my pages,
I add a content of a special content-type with XML inside that content
Then I get URL on this content and use it for
<meta name="msapplication-config" content="....FILE BY THIS URL ...." /> ?
and inside that XML file what should I do?
<square70x70logo src="[---insert some path here---]/mstile-70x70.png"/>
and I should set this path inside my page template controller?
How about creating a filter that only matches these spesific path’s.
Then it rendering each file with proper references through thymeleaf and moustache?
Alternatively just create these as pages. You should not use page templates as these are one-time pages only. Simply choose a different page controller from the page config.