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

Set headers on page frontmatter #1609

Closed
jrivero opened this issue Aug 16, 2017 · 1 comment
Closed

Set headers on page frontmatter #1609

jrivero opened this issue Aug 16, 2017 · 1 comment

Comments

@jrivero
Copy link

jrivero commented Aug 16, 2017

Hi!

I have some issues with google analytics on amp pages and I have found a tested solution, but it is necessary to set some headers. I thought about programming a plugin, but I think it would be interesting to incorporate a option for set headers from page frontmatter (#1591) in the core because amp is something increasingly important.

Google Analytics Client ID In AMP Pages:
https://www.simoahava.com/analytics/google-analytics-client-id-amp-pages/#wp

@rhukster
Copy link
Member

All rendered output is left to the theme. If you wanted to automatically output some headers, then it should be done in a plugin, not in Grav core.

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

No branches or pull requests

2 participants