CMSgov / CMCS-DSG-DSS-Certification-Staging

(This is the STAGING repo.) Welcome to the MES Certification Repository, a collaborative community for CMS, states, and vendors. For more information about the repository, and how to use it, take a look at the ReadMe section.
https://cmsgov.github.io/CMCS-DSG-DSS-Certification-Staging/
Other
10 stars 6 forks source link

Update H1s on home, outcome, and writing pages to match nav #93

Closed amyashida closed 2 years ago

amyashida commented 2 years ago

What is the goal or purpose of this issue?

The main text on the pages does not match the nav so users may feel confused if they are on the page they clicked on.

On the home page - remove "introduction"

On the outcomes + process and writing page update H1 to match nav

This issue is resolved when...

Additional context

Add any other context, screenshots, or links about the request here

amyashida commented 2 years ago

This needs two fixes - I updated the copy in the page-header-fixes branch, but it looks like the default page layout is duplicating the H1 at the top of the page so it shows up twice. The expected behavior would be to have the H1 text at the top of a page only show up once and it should be as the largest header at the top of the page.

Going to tag in @sknep to help!

image

sknep commented 2 years ago

Yep, this is using a special jekyll plugin to automatically set a page title whenever the first line of a markdown file starts with # (an h1). There's a setting to strip the duplicate title: https://github.com/benbalter/jekyll-titles-from-headings#stripping-titles

Which I've made in the open branch at https://github.com/CMSgov/CMCS-DSG-DSS-Certification-Staging/tree/page-header-fixes. PR incoming!