AMP support for tags [Routes slug help]

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?

any idea?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.