Accelerated Mobile Pages for Taxonomy Pages

Created on 28 August 2020, about 4 years ago
Updated 23 October 2023, about 1 year ago

Problem/Motivation

For one of the projects we have to implement the AMP pages for sitewide use with Taxonomy Terms. Currently AMP supports only content types.
We need to have a functionality for all major content entities such as Taxonomies, Users etc.
For this issue/request we can start with taxonomies.

Proposed resolution

Since taxonomy is an entity it will also have a view mode available.
We create a view mode for the taxonomy and add it in the config
We add use said view mode and force that to be called on AMP pages.
We add check if the AMP is enabled for taxonomy.
We enable only that page to be the AMP

Remaining tasks

Add amphtml tag in non amp pages

Feature request
Status

Needs work

Version

3.4

Component

Code

Created by

🇮🇳India kaustubhb Mumbai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024