How can I customize the summary of list pages ? #59
-
There are two pages in the customization menu - The Is it possible to customize
in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Page parameters aren't inherited between parent and child pages. If you look at the front matter for _index.md, show.md, and style.md, you can see that they each specify a paige.style value: paige:
style: |
#paige-authors,
#paige-credit,
#paige-date,
#paige-keywords,
#paige-reading-time,
#paige-series,
#paige-toc,
.paige-authors,
.paige-date,
.paige-date-header,
.paige-keywords,
.paige-reading-time,
.paige-series,
.paige-summary {
display: block;
} By default, all page content is displayed, so if you want _index.md to only show the title, author, and keywords, you would style everything else to not be displayed: paige:
style: |
/* #paige-authors, */
#paige-credit,
#paige-date,
/* #paige-keywords, */
#paige-reading-time,
#paige-series,
#paige-toc,
/* .paige-authors, */
.paige-date,
.paige-date-header,
/* .paige-keywords, */
.paige-reading-time,
.paige-series,
.paige-summary {
display: none; /* none, not block */
} |
Beta Was this translation helpful? Give feedback.
The below works: