pat_if_amp
By:
Category:
Articles
Textpattern compatibility:
4.5
→
4.8
AMP pages for Textpattern CMS. This conditional tag examines the URL of the current page and determines if the URL ends in ‘amp.’ This allows for a custom page to be rendered using the standards for Google’s Accelerated Mobile Pages (AMP) project.