diff --git a/components/billboard/billboard.config.yml b/components/billboard/billboard.config.yml index 16200035b..28ec8125b 100644 --- a/components/billboard/billboard.config.yml +++ b/components/billboard/billboard.config.yml @@ -1,6 +1,6 @@ preview: '@preview-unpadded' context: - title: Example headline with 35 characters + heading: Example headline with 35 characters desc: A description with a maximum of 100 characters. That usually means only one or two sentences. cta: Learn more cta_link: '#' diff --git a/components/billboard/billboard.html b/components/billboard/billboard.html index 7cca6f186..f93246fe0 100644 --- a/components/billboard/billboard.html +++ b/components/billboard/billboard.html @@ -3,8 +3,8 @@ # parameters: # class - string # image - path -# title - string -# title_el - HTML heading element (h1, h2, h3, h4, h5, h6) +# heading - string +# heading_el - HTML heading element (h1, h2, h3, h4, h5, h6) # desc - string # cta - string # cta_link - url @@ -16,7 +16,7 @@
{{ desc }}
{% endif -%} diff --git a/components/branding/zap/zap--all-styles.html b/components/branding/zap/zap--all-styles.html index f45b3d5d2..e6dc5668a 100644 --- a/components/branding/zap/zap--all-styles.html +++ b/components/branding/zap/zap--all-styles.html @@ -1,18 +1,18 @@ -{% render '@zap', { title_el: 'h2', zap_number: '1', title: 'An example of Zap 1' } %} -{% render '@zap', { title_el: 'h2', zap_number: '2', title: 'An example of Zap 2' } %} -{% render '@zap', { title_el: 'h2', zap_number: '3', title: 'An example of Zap 3' } %} -{% render '@zap', { title_el: 'h2', zap_number: '4', title: 'An example of Zap 4' } %} -{% render '@zap', { title_el: 'h2', zap_number: '5', title: 'An example of Zap 5' } %} -{% render '@zap', { title_el: 'h2', zap_number: '6', title: 'An example of Zap 6' } %} -{% render '@zap', { title_el: 'h2', zap_number: '7', title: 'An example of Zap 7' } %} -{% render '@zap', { title_el: 'h2', zap_number: '8', title: 'An example of Zap 8' } %} -{% render '@zap', { title_el: 'h2', zap_number: '9', title: 'An example of Zap 9' } %} -{% render '@zap', { title_el: 'h2', zap_number: '10', title: 'An example of Zap 10' } %} -{% render '@zap', { title_el: 'h2', zap_number: '11', title: 'An example of Zap 11' } %} -{% render '@zap', { title_el: 'h2', zap_number: '12', title: 'An example of Zap 12' } %} -{% render '@zap', { title_el: 'h2', zap_number: '13', title: 'An example of Zap 13' } %} -{% render '@zap', { title_el: 'h2', zap_number: '14', title: 'An example of Zap 14' } %} -{% render '@zap', { title_el: 'h2', zap_number: '15', title: 'An example of Zap 15' } %} -{% render '@zap', { title_el: 'h2', zap_number: '16', title: 'An example of Zap 16' } %} -{% render '@zap', { title_el: 'h2', zap_number: '17', title: 'An example of Zap 17' } %} -{% render '@zap', { title_el: 'h2', zap_number: '18', title: 'An example of Zap 18' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '1', heading: 'An example of Zap 1' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '2', heading: 'An example of Zap 2' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '3', heading: 'An example of Zap 3' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '4', heading: 'An example of Zap 4' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '5', heading: 'An example of Zap 5' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '6', heading: 'An example of Zap 6' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '7', heading: 'An example of Zap 7' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '8', heading: 'An example of Zap 8' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '9', heading: 'An example of Zap 9' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '10', heading: 'An example of Zap 10' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '11', heading: 'An example of Zap 11' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '12', heading: 'An example of Zap 12' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '13', heading: 'An example of Zap 13' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '14', heading: 'An example of Zap 14' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '15', heading: 'An example of Zap 15' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '16', heading: 'An example of Zap 16' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '17', heading: 'An example of Zap 17' } %} +{% render '@zap', { heading_el: 'h2', zap_number: '18', heading: 'An example of Zap 18' } %} diff --git a/components/branding/zap/zap.config.yml b/components/branding/zap/zap.config.yml index 8ca2051b2..e856bb420 100644 --- a/components/branding/zap/zap.config.yml +++ b/components/branding/zap/zap.config.yml @@ -1,5 +1,5 @@ context: - title_el: h1 + heading_el: h1 zap_number: 1 - title: A headline with an example zap. + heading: A headline with an example zap. diff --git a/components/branding/zap/zap.html b/components/branding/zap/zap.html index 3d96706a8..a5931732c 100644 --- a/components/branding/zap/zap.html +++ b/components/branding/zap/zap.html @@ -1,8 +1,8 @@ {# @zap # # parameters: -# title_el - HTML heading (h1, h2, h3, h4, h5, h6) +# heading_el - HTML heading (h1, h2, h3, h4, h5, h6) # zap_number - Zap class suffix (1—18) -# title - string +# heading - string #} -<{{ title_el | default('h1') }} class="mzp-has-zap-{{ zap_number | default('1') }}">{{ title | safe }}{{ title_el }}> +<{{ heading_el | default('h1') }} class="mzp-has-zap-{{ zap_number | default('1') }}">{{ heading | safe }}{{ heading_el | default('h1') }}> diff --git a/components/callout/callout.config.yml b/components/callout/callout.config.yml index 166a3b9ea..4e8ee8905 100644 --- a/components/callout/callout.config.yml +++ b/components/callout/callout.config.yml @@ -1,7 +1,7 @@ preview: '@preview-unpadded' context: - title: A Headline With 30 Characters - title_el: h1 + heading: A Headline With 30 Characters + heading_el: h1 desc: A description of about 150 characters, give or take. Because this text is centered it works best with a tagline or brief intro, just a sentence or two. cta: False image: False diff --git a/components/callout/callout.html b/components/callout/callout.html index 65c4750ed..5afdb1a57 100644 --- a/components/callout/callout.html +++ b/components/callout/callout.html @@ -3,9 +3,9 @@ # parameters: # class - string # content_class - string -# title - string -# title_el - HTML heading element (h1, h2, h3, h4, h5, h6) -# title_class - string +# heading - string +# heading_el - HTML heading element (h1, h2, h3, h4, h5, h6) +# heading_class - string # desc - string # cta - string # cta_link - url @@ -14,7 +14,7 @@{{ desc }}
diff --git a/components/card/card.config.yml b/components/card/card.config.yml index 8ea0f81b2..360f4a4c1 100644 --- a/components/card/card.config.yml +++ b/components/card/card.config.yml @@ -5,7 +5,7 @@ context: link: https://example.com image: '/img/image-3-2.jpg' tag: Card tag - title: Card title with about 30-40 characters + heading: Card heading with about 30-40 characters desc: A description of about 150 characters, give or take. That means we usually only have room for one or two sentences. Here is what that looks like. cta: Call to action meta: Card meta info @@ -16,7 +16,7 @@ variants: link: https://example.com image: '/img/image-1-1.jpg' tag: Audio - title: Card title with about 30-40 characters + heading: Card heading with about 30-40 characters desc: A description of about 150 characters, give or take. That means we usually only have room for one or two sentences. Here is what that looks like. cta: This call to action is 37 characters meta: false diff --git a/components/card/card.html b/components/card/card.html index 944b56ca0..e6a8f0054 100644 --- a/components/card/card.html +++ b/components/card/card.html @@ -5,8 +5,8 @@ # link - url # image - path # tag - string -# title - string -# title_el - HTML heading element (h1, h2, h3, h4, h5, h6) +# heading - string +# heading_el - HTML heading element (h1, h2, h3, h4, h5, h6) # desc - string # cta - string # meta - string @@ -18,7 +18,7 @@{{ desc }}
{% endif %} {% if cta %}{{ cta }}
{% endif %} {% if meta %}{% endif %} diff --git a/components/card/readme.md b/components/card/readme.md index 92b623f01..b649a97bd 100644 --- a/components/card/readme.md +++ b/components/card/readme.md @@ -1,4 +1,4 @@ -A Card is a unit of content featuring an image along with a title and description, +A Card is a unit of content featuring an image along with a heading and description, wrapped in a block-level link. Cards come in a variety of sizes, activated by adding a modifier class: @@ -18,14 +18,14 @@ size depends on the card layout: - 3-column layout: `600px` wide (low-res), `1200px` wide (high-res) - 2-column layout: `930px` wide (low-res), `1860px` wide (high-res) -In addition to the image, title, and description, cards may hold a few other +In addition to the image, heading, and description, cards may hold a few other distinct pieces of content: -- A tag, sometimes with an icon, above the title. +- A tag, sometimes with an icon, above the heading. - A Call To Action - A small meta label -A card must contain at minimum an image and either a title or a description (or -both). All other content is optional. Try to keep card titles to one or two lines +A card must contain at minimum an image and either a heading or a description (or +both). All other content is optional. Try to keep card headings to one or two lines (about 50 characters max) and descriptions to two or three lines (about 150 characters max). Tags should be short, just one or two words. Calls to Action and meta labels should fit on one line, about 30-40 characters max. diff --git a/components/forms/12-form-header/form-header.html b/components/forms/12-form-header/form-header.html index 2382d8507..5cd8537d0 100644 --- a/components/forms/12-form-header/form-header.html +++ b/components/forms/12-form-header/form-header.html @@ -1,7 +1,7 @@