Skip to content

Allow changing head and body element through xml layout updates #13817

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

Merged

Conversation

cedricziel
Copy link
Member

Description

The change allows updating the head and body parts of a page manually through xml layout updates.

One particular thing this changeset allows is:

<head>
  <meta name="robots" content="NOINDEX, NOFOLLOW"/>
</head>

This solution is curtesy of https://magento.stackexchange.com/questions/126646/magento2-how-to-add-different-custom-css-file-on-specific-cms-pages/166322#166322 and #4454 (comment)

Fixed Issues

  1. CMS Page with <head> in layout update xml #4454: CMS Page with in layout update xml

Closes: #4454

@miguelbalparda miguelbalparda self-assigned this Feb 23, 2018
@miguelbalparda
Copy link
Contributor

Thanks for your contribution @cedricziel! I'll give this a try and report back.

@magento-engcom-team
Copy link
Contributor

Hi @miguelbalparda, thank you for the review.
MAGETWO-88340 has been created to process this Pull Request

@magento-engcom-team
Copy link
Contributor

@cedricziel thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants