mirror of
https://github.com/hacks-guide/minimal-mistakes.git
synced 2024-11-23 00:39:47 +00:00
Remove deprecated "page.header.cta_url" setting (#4821)
This commit is contained in:
parent
ab42c3ba1d
commit
ed883ea2d4
@ -36,9 +36,6 @@
|
||||
<p class="page__lead">{{ page.excerpt | markdownify | remove: "<p>" | remove: "</p>" }}</p>
|
||||
{% endif %}
|
||||
{% include page__meta.html %}
|
||||
{% if page.header.cta_url %}
|
||||
<p><a href="{{ page.header.cta_url | relative_url }}" class="btn btn--light-outline btn--large">{{ page.header.cta_label | default: site.data.ui-text[site.locale].more_label | default: "Learn More" }}</a></p>
|
||||
{% endif %}
|
||||
{% if page.header.actions %}
|
||||
<p>
|
||||
{% for action in page.header.actions %}
|
||||
|
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user