AMP support for tags [Routes slug help]


#1

Hello, I’m trying to build tag pages with amp support. I have already support homepage amp with amp-home.hbs(custom page) + routes.yaml and it works perfectly. Here is my routes.yaml code for support home amp.

routes:
  /amp/:
data: page.amp-homepage
template: amp-homepage

Now I’m trying to build amp for tag pages but after all searching I can’t find anything about this. I need a routes like this

routes:
    /tag/{my-tags}/amp/:
        data: page.amp-tag
        template: amp-tag

Is someone have any idea?


#2

any idea?