Using page-manager t add link tag in for amp version of node, adds link to all AMP enabled Content Types node and not for only amp Node.

For instance: If a node is not published for AMP, it adds the amphtl link tag to head of the Non-AMP version, which is not correct.

Adding support for page manager to add the amphtml link to head tag is fixed in the below mentioned issue, but it had missed a condition for adding a check whether the node is enabled for AMP.
https://www.drupal.org/project/amp/issues/2706745

Comments

Paulraj Augustin created an issue. See original summary.

paulraj augustin’s picture

StatusFileSize
new854 bytes

I have created a patch. Kindly validate.

paulraj augustin’s picture

Status: Active » Needs review