Hey mad,
we now had a longer session trying to find the problem. We went through our scripting logic, tried different changes, but it all is solid and works perfectly, switching languages, building the menu, all good.
But on the two pages with more text, it breaks and shows the content from another page.
When we remove most of the text, it works again.
So to me it looks as if the actual page content is the problem, not our template or script, otherwise the problem should always show up, right?
Our text is written and formatted in HTML, since we took it from our existing pages. Therefore, I removed the pipe and "markdown" command from your examples like this: "@{ :inhalt }" - is that correct?
So the question is: you seem to use mostly markdown and I don't know how much you tried Automad with HTML formatted text. Could you imagine that this is the problem?
I'll probably try to convert one of the shorter texts to markdown to see if that could be the case.
I can provide our text/templates etc. if you want to have a look.
Cheers and thanks a lot for any pointers. Other than this problem, everything works great.
It's interesting to see that in GetSimpleCMS we needed 5 different plugins to do what Automad does without any plugins, even though Automad feels almost "simpler" than GetSimpleCMS in a way.
Great design here :thumbup:
Tom