diff --git a/_includes/page__hero.html b/_includes/page__hero.html index 2d56b9e3bbd0..ebc0b6b43068 100644 --- a/_includes/page__hero.html +++ b/_includes/page__hero.html @@ -36,9 +36,6 @@

{{ page.excerpt | markdownify | remove: "

" | remove: "

" }}

{% endif %} {% include page__meta.html %} - {% if page.header.cta_url %} -

{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}

- {% endif %} {% if page.header.actions %}

{% for action in page.header.actions %} diff --git a/docs/_docs/10-layouts.md b/docs/_docs/10-layouts.md index 1760f96de74c..e0778988737e 100644 --- a/docs/_docs/10-layouts.md +++ b/docs/_docs/10-layouts.md @@ -463,8 +463,6 @@ To overlay text on top of a header image you have a few more options: | **excerpt** | Auto-generated page excerpt is added to the overlay text or can be overridden. | | | **tagline** | Overrides page excerpt. Useful when header text needs to be different from excerpt in archive views. | | | **actions** | Call to action button links (`actions` array: `label` and `url`). More than one button link can be assigned. | | -| **cta_label** | Deprecated, use `actions` instead. Call to action button text label. | `more_label` in UI Text data file | -| **cta_url** | Deprecated, use `actions` instead. Call to action button URL. | | [mdn-linear-gradient]: https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient()