Just a short follow-up question… If I want to define a second route, the previous one doesn’t seem to work any longer. I just wanted to use a second route to get a print version of the particular page (loading print.php). Both versions work like a charm, but not at the same time since I guess the first gets overruled when I define the routes separately, like below. I also tried to pass on the second array into the first but c::set but didn’t succeed. I guess it’s again a tiny detail I’m missing here…
dudes theres a lot of last reply, i’m newbie in this, im just finding another light cms, kirby runns very well, and sorry my poor english (i talk spanish), so I’ll be direct, i’ve done all that you have cleared up, i need a cms with amp generator so, it doesnt work running kirby 2.5.2 and php 5.6, and cant make that works.
this is the url: http://gaared.com/kirby/
I also came up with Google AMP recently and saw this article. I understand what is done here with the routing but I don’t know if I get it right but I wanna achieve that on every page the “amp-head” is added automatically. I did not understand how this is able with the above routes. Do I miss something?
For Example I have the following pages:
Now for most of the pages I have the same header snippet. Is it easily possible to change that header snippet when going to /amp instead of / or /blog/amp instead of /blog?