From 9693a5f05f5a8bd5cc0f7902f7440da416c7404d Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:41:55 +0000 Subject: [PATCH] Fix `list` section --- config/_default/params.toml | 12 ++++++------ exampleSite/content/docs/configuration/index.md | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index acb9ce29..8590fdaa 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -72,14 +72,14 @@ disableImageOptimization = false # sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"] [list] - #showHero = true - #heroStyle = "background" # valid options: basic, big, background, thumbAndBackground - #layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground - #layoutBackgroundHeaderSpace = true # only used when heroStyle equals background + showHero = false + # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + layoutBackgroundBlur = true # only used when heroStyle equals background or thumbAndBackground + layoutBackgroundHeaderSpace = true # only used when heroStyle equals background showBreadcrumbs = false showSummary = false - #showViews = true - #showLikes = true + showViews = false + showLikes = false showTableOfContents = false showCards = false groupByYear = true diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index a093c277..a4c455eb 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -202,6 +202,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `article.showAuthorsBadges` | `false` | Whether the `authors` taxonomies are are displayed in the article or list header. This requires the setup of `multiple authors` and the `authors` taxonomy. Check [this page]({{< ref "multi-author" >}}) for more details on how to configure that feature. | | `article.showWordCount` | `false` | Whether or not article word counts are displayed. | | `article.showComments` | `false` | Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer. | +| `article.showSummary` | `false` | Whether or not article summaries are displayed on list pages. If a summary is not provided in the [front matter]({{< ref "front-matter" >}}), one will be auto generated using the `summaryLength` parameter in the [site configuration](#site-configuration). | | `article.sharingLinks` | _Not set_ | Which sharing links to display at the end of each article. When not provided, or set to `false` no links will be displayed. | ### List @@ -222,6 +223,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `list.cardView` | `false` | Display lists as a gallery of cards. | | `list.cardViewScreenWidth` | `false` | Enhance the width of card galleries in lists to take the full width available. | | `list.constrainItemsWidth` | `false` | Limit item width to `prose` to increase readability. Useful when no feature images are available. | +| `list.showTableOfContents` | `false` | Whether or not the table of contents is displayed on articles. | ### Sitemap