How to use amp in front page its posible.

Comments

Nelo_Drup created an issue. See original summary.

marcelovani’s picture

AMP can be enabled on any content type. If you create a node and set it to be the homepage, it will have AMP.

nelo_drup’s picture

If you really use that idea, it was the most appropriate

karens’s picture

Status: Active » Closed (works as designed)

Sounds like this is answered.

tm01xx’s picture

Hi,

But what if homepage is not a node type? In Drupal 8, homepage is defaulty created by Views or in most of my project, homepage is created by my custom module. Having homepage as a node is quite risk as it can be accidently deleted by website owner.

In AMP base theme, i create a page--front.html.twig but seems it doesn't work at all.

avpaderno’s picture

Issue tags: -Amp Home Drupal 8

I am removing the issue tags wrongly used. I apologize for bumping this issue.