-
Notifications
You must be signed in to change notification settings - Fork 33
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
(#4471) Remove MLP Title Paragraph and add it to MLP Template #4481
Conversation
ODE DeploymentCode has been deployed to ODE 857. |
ec5e840
to
5657291
Compare
docroot/profiles/custom/cgov_site/modules/custom/cgov_home_landing/cgov_home_landing.install
Show resolved
Hide resolved
4a9b54e
to
2834e9a
Compare
@@ -1,4 +1,7 @@ | |||
<!-- Begin MAIN CONTENT AREA --> | |||
<main class="main-content type {{ page_type }}" id="main-content"> | |||
<div class="usa-section usa-section--cgdp-no-bottom" data-eddl-landing-row> | |||
<h1 class="nci-heading-h1">{{ drupal_token('current-page:title')}}</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should be able to just reference the node's title here, <h1>{{ node.label }}</h1>
, and skip drupal_token. drupal_token should only be used when you can't get the data through a more direct (and more performant) way.
731c351
to
807ea33
Compare
Discussed on 11/12: Needs to be tested on ACSF - will coordinate with O&M team for testing availability |
- Adds update hook to remove paragraph from the database and delete paragraph from any active pages on prod Closes #4471
807ea33
to
d89f08e
Compare
I looked on www-dev-acsf and there are no errors in the error log, and the paragraph does not exist in structure > Paragraphs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passes product review.
Closes #4471