Option to hide front-matter description in pages? #1706
Closed
gmichaelides
started this conversation in
CSS and other site hacks
Replies: 1 comment 1 reply
-
Hi, it seems to me that currently there is no other option to disable that (https://github.com/search?q=repo%3Agoogle%2Fdocsy%20class%3D%22lead%22&type=code). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a preferred way to hide the front-matter description from the pages themselves?
For example, page https://www.docsy.dev/docs/adding-content/lookandfeel/ shows under the heading:
"Customize colors, fonts, code highlighting, and more for your site."
Which it derives from front-matter,
description: "Customize colors, fonts, code highlighting, and more for your site."
Adding the following in _variables_project.scss seems to work but wanted to check if there is an alternative.
/* Hide description in pages */
.td-content .lead {
display: none;
}
Beta Was this translation helpful? Give feedback.
All reactions