-
Notifications
You must be signed in to change notification settings - Fork 383
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
Support for Pages #176
Comments
I'm working on this now. Are there specific areas regarding the JSON schema that you're thinking about? FWIW, the template renders fine for pages in the work I've done. Not sure much needs to be done to the template outside of removing displayed meta... |
How is support for Pages coming along? I feel like Pages-support is mandatory for this plugin to take off. I'm psyched to give it a shot when support comes, since very few sites that I operate actually use posts. |
Acceptance criteria:
|
This will be especially important in the case of pages with user-supplied page templates. If a page template has functionality in it that is hard-coded in PHP and showing the page in the AMP template is just not going to be acceptable, then a user would need to disable AMP for the page. We may want to consider defaulting AMP to “disabled” when a custom page template has been selected. |
One more thing to note on acceptance criteria: the AMP versions of URLs may include |
@westonruter I added that to the ACs. |
See PR #825 which is pending merge to resolve this issue. |
Went to Contact Us page at http://amp-xwp-testbed.pantheonsite.io/contact/?amp which has AMP enabled. I ran an AMP Validator extension and it noted the attached error. |
@csossi Thanks for that. This is actually something that I had done as part of #819 but deployed to the testbed prior to merging the PR. I fixed the issue here: a38d024 Re-deployed and the issue has been resolved: http://amp-xwp-testbed.pantheonsite.io/contact/?amp#development=1 |
verified in QA |
[Edited] Refer to the latest acceptance criteria.
At a minimum, they should have:
We may need to adjust actions/filters to allow targeting posts or pages specifically.
PRs: #188, #619.
The text was updated successfully, but these errors were encountered: