Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add native/paired/classic mode to AMP generator meta #1465

Merged
merged 2 commits into from
Sep 27, 2018

Conversation

westonruter
Copy link
Member

In order to track the success of the new AMP theme support (in native and paired modes) over the classic mode, it is important to capture whether the new paired or native modes are in use. This PR adds a mode param to the meta generator tag:

<meta name="generator" content="AMP Plugin v1.0-beta4; mode=native">
<meta name="generator" content="AMP Plugin v1.0-beta4; mode=paired">
<meta name="generator" content="AMP Plugin v1.0-beta4; mode=classic">

@westonruter westonruter added this to the v1.0 milestone Sep 25, 2018
Copy link
Member

@amedina amedina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ship it!

@kienstra
Copy link
Contributor

kienstra commented Sep 27, 2018

Approved

Hi @westonruter,
To echo @amedina's point, this looks good.

The <meta name="generator" ...> tag appears as expected in all 3 template modes:

Native mode:
native-mode

Paired mode:
paired-mode

Classic mode:
classic-mode

@westonruter westonruter merged commit 99d0943 into develop Sep 27, 2018
@westonruter westonruter deleted the add/meta-generator-mode branch September 27, 2018 15:58
@kienstra kienstra requested review from kienstra and removed request for kienstra September 27, 2018 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants