From 2ce624d5a28b219f8b5eebec68251042d4c9f75d Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:30:52 +0000 Subject: [PATCH 01/16] Fix paginate default to match docs --- config/_default/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index 3a0a8bea..acaa13d7 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -9,7 +9,7 @@ defaultContentLanguage = "en" # pluralizeListTitles = "true" # hugo function useful for non-english languages, find out more in https://gohugo.io/getting-started/configuration/#pluralizelisttitles enableRobotsTXT = true -paginate = 20 +paginate = 10 summaryLength = 30 buildDrafts = false From 9adaf75d9bdf4ca4e958b86ef30d7e5238249296 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:31:04 +0000 Subject: [PATCH 02/16] Fix summary length --- config/_default/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index acaa13d7..755fd4fe 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -10,7 +10,7 @@ defaultContentLanguage = "en" enableRobotsTXT = true paginate = 10 -summaryLength = 30 +summaryLength = 0 buildDrafts = false buildFuture = false From 2c9d18e2099be5396cc63c7ee00d787b91587a28 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:32:22 +0000 Subject: [PATCH 03/16] Fix description --- config/_default/languages.en.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index 9e815f30..943ba0b2 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -7,7 +7,7 @@ rtl = false title = "Blowfish" # logo = "img/logo.png" -description = "My awesome website" +# description = "My awesome website" # copyright = "Copy, _right?_ :thinking_face:" dateFormat = "2 January 2006" From e541e6496704521b2c49b4700498e1598c7d9a13 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:33:25 +0000 Subject: [PATCH 04/16] Fix `[author]` section --- config/_default/languages.en.toml | 98 +++++++++++++++---------------- 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index 943ba0b2..379c57ba 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -12,52 +12,52 @@ title = "Blowfish" dateFormat = "2 January 2006" -[author] - name = "Your name here" - image = "img/blowfish_logo.png" - headline = "I'm only human" - bio = "A little bit about you" - # links = [ - # { email = "mailto:hello@your_domain.com" }, - # { link = "https://link-to-some-website.com/" }, - # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, - # { apple = "https://www.apple.com" }, - # { blogger = "https://username.blogspot.com/" }, - # { codepen = "https://codepen.io/username" }, - # { dev = "https://dev.to/username" }, - # { discord = "https://discord.gg/invitecode" }, - # { dribbble = "https://dribbble.com/username" }, - # { facebook = "https://facebook.com/username" }, - # { flickr = "https://www.flickr.com/photos/username/" }, - # { foursquare = "https://foursquare.com/username" }, - # { github = "https://github.com/username" }, - # { gitlab = "https://gitlab.com/username" }, - # { google = "https://www.google.com/" }, - # { hashnode = "https://username.hashnode.dev" }, - # { instagram = "https://instagram.com/username" }, - # { keybase = "https://keybase.io/username" }, - # { kickstarter = "https://www.kickstarter.com/profile/username" }, - # { lastfm = "https://lastfm.com/user/username" }, - # { linkedin = "https://linkedin.com/in/username" }, - # { mastodon = "https://mastodon.instance/@username" }, - # { medium = "https://medium.com/username" }, - # { microsoft = "https://www.microsoft.com/" }, - # { orcid = "https://orcid.org/userid" }, - # { patreon = "https://www.patreon.com/username" }, - # { pinterest = "https://pinterest.com/username" }, - # { reddit = "https://reddit.com/user/username" }, - # { researchgate = "https://www.researchgate.net/profile/username" }, - # { slack = "https://workspace.url/team/userid" }, - # { snapchat = "https://snapchat.com/add/username" }, - # { soundcloud = "https://soundcloud.com/username" }, - # { stack-overflow = "https://stackoverflow.com/users/userid/username" }, - # { steam = "https://steamcommunity.com/profiles/userid" }, - # { telegram = "https://t.me/username" }, - # { tiktok = "https://tiktok.com/@username" }, - # { tumblr = "https://username.tumblr.com" }, - # { twitch = "https://twitch.tv/username" }, - # { twitter = "https://twitter.com/username" }, - # { whatsapp = "https://wa.me/phone-number" }, - # { youtube = "https://youtube.com/username" }, - # { ko-fi = "https://ko-fi.com/username" }, - # ] +# [author] +# name = "Your name here" +# image = "img/blowfish_logo.png" +# headline = "I'm only human" +# bio = "A little bit about you" +# links = [ +# { email = "mailto:hello@your_domain.com" }, +# { link = "https://link-to-some-website.com/" }, +# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, +# { apple = "https://www.apple.com" }, +# { blogger = "https://username.blogspot.com/" }, +# { codepen = "https://codepen.io/username" }, +# { dev = "https://dev.to/username" }, +# { discord = "https://discord.gg/invitecode" }, +# { dribbble = "https://dribbble.com/username" }, +# { facebook = "https://facebook.com/username" }, +# { flickr = "https://www.flickr.com/photos/username/" }, +# { foursquare = "https://foursquare.com/username" }, +# { github = "https://github.com/username" }, +# { gitlab = "https://gitlab.com/username" }, +# { google = "https://www.google.com/" }, +# { hashnode = "https://username.hashnode.dev" }, +# { instagram = "https://instagram.com/username" }, +# { keybase = "https://keybase.io/username" }, +# { kickstarter = "https://www.kickstarter.com/profile/username" }, +# { lastfm = "https://lastfm.com/user/username" }, +# { linkedin = "https://linkedin.com/in/username" }, +# { mastodon = "https://mastodon.instance/@username" }, +# { medium = "https://medium.com/username" }, +# { microsoft = "https://www.microsoft.com/" }, +# { orcid = "https://orcid.org/userid" }, +# { patreon = "https://www.patreon.com/username" }, +# { pinterest = "https://pinterest.com/username" }, +# { reddit = "https://reddit.com/user/username" }, +# { researchgate = "https://www.researchgate.net/profile/username" }, +# { slack = "https://workspace.url/team/userid" }, +# { snapchat = "https://snapchat.com/add/username" }, +# { soundcloud = "https://soundcloud.com/username" }, +# { stack-overflow = "https://stackoverflow.com/users/userid/username" }, +# { steam = "https://steamcommunity.com/profiles/userid" }, +# { telegram = "https://t.me/username" }, +# { tiktok = "https://tiktok.com/@username" }, +# { tumblr = "https://username.tumblr.com" }, +# { twitch = "https://twitch.tv/username" }, +# { twitter = "https://twitter.com/username" }, +# { whatsapp = "https://wa.me/phone-number" }, +# { youtube = "https://youtube.com/username" }, +# { ko-fi = "https://ko-fi.com/username" }, +# ] From a04a1aa0569739e526643271555cc93d71480a4f Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:34:05 +0000 Subject: [PATCH 05/16] Fix `enableSearch` --- config/_default/params.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 023cccd6..8dfe25fe 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -9,7 +9,7 @@ colorScheme = "blowfish" defaultAppearance = "light" # valid options: light or dark autoSwitchAppearance = true -enableSearch = true +enableSearch = false enableCodeCopy = true # mainSections = ["section1", "section2"] From 174f924aac826946ebb5b4d4a3f1e1d29e5b190a Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:34:18 +0000 Subject: [PATCH 06/16] Fix `enableCodeCopy` --- config/_default/params.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 8dfe25fe..8ed9d088 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -10,7 +10,7 @@ defaultAppearance = "light" # valid options: light or dark autoSwitchAppearance = true enableSearch = false -enableCodeCopy = true +enableCodeCopy = false # mainSections = ["section1", "section2"] # robots = "" From 9c8f37a949205599ac3bc3262d461d1237888704 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:34:48 +0000 Subject: [PATCH 07/16] Fix `disableImageOptimization` --- config/_default/params.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 8ed9d088..e2c395b0 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -15,7 +15,7 @@ enableCodeCopy = false # mainSections = ["section1", "section2"] # robots = "" -# disableImageOptimization = false +disableImageOptimization = false # defaultBackgroundImage = "IMAGE.jpg" # used as default for background images From 807869529a9081586ef4594c09bcc3168d1ae14a Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:35:44 +0000 Subject: [PATCH 08/16] Fix `footer.showMenu` --- config/_default/params.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index e2c395b0..d8079b0b 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -27,7 +27,7 @@ disableImageOptimization = false layout = "basic" # valid options: basic, fixed [footer] - # showMenu = true + showMenu = true showCopyright = true showThemeAttribution = true showAppearanceSwitcher = true From 2d9e32eb294319bad7dc49ded966e90e710178d7 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:36:02 +0000 Subject: [PATCH 09/16] Fix `footer.showAppearanceSwitcher` --- config/_default/params.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index d8079b0b..9bfece3f 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -30,7 +30,7 @@ disableImageOptimization = false showMenu = true showCopyright = true showThemeAttribution = true - showAppearanceSwitcher = true + showAppearanceSwitcher = false showScrollToTop = true [homepage] From b0e31525159c642d3052f1c364b1a2301bac4173 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:38:36 +0000 Subject: [PATCH 10/16] Fix `article` section to match docs --- config/_default/params.toml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 9bfece3f..acb9ce29 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -46,17 +46,17 @@ disableImageOptimization = false [article] showDate = true - #showViews = true - #showLikes = true + showViews = false + showLikes = false showDateUpdated = false showAuthor = true - showHero = true - heroStyle = "basic" # valid options: basic, big, background, thumbAndBackground - layoutBackgroundBlur = false # only used when heroStyle equals background or thumbAndBackground + showHero = false + # heroStyle = "basic" # 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 = true + showBreadcrumbs = false showDraftLabel = true - showEdit = true + showEdit = fa;se # editURL = "https://github.com/username/repo/" editAppendPath = true seriesOpened = false @@ -64,12 +64,12 @@ disableImageOptimization = false showPagination = true invertPagination = false showReadingTime = true - showTableOfContents = true - showTaxonomies = false - showAuthorsBadges = false + showTableOfContents = false + showTaxonomies = false + showAuthorsBadges = false showWordCount = true showSummary = true - sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"] + # sharingLinks = [ "linkedin", "twitter", "reddit", "pinterest", "facebook", "email"] [list] #showHero = true From 1a76da6de6b77b26ed95c3674dd5023a78779722 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:40:05 +0000 Subject: [PATCH 11/16] Fix quotes --- exampleSite/content/docs/configuration/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 8af33abf..a093c277 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -143,7 +143,7 @@ Many of the article defaults here can be overridden on a per article basis by sp | `disableImageZoom` | `false` | Disables image zoom feature across all the images in the site. | | `disableImageOptimization` | `false` | Disables image resize and optimization features across all the images in the site. | | `defaultBackgroundImage` | _Not set_ | Default background image for both `background` homepage layout and `background` hero style | -| `defaultBackgroundImage` | _Not set_ | Marks menu entries in the main manu when selected | +| `defaultBackgrouclearndImage` | _Not set_ | Marks menu entries in the main manu when selected | | `smartTOC` | _Not set_ | Activate smart Table of Contents, items in view will be highlighted. | | `smartTOCHideUnfocusedChildren` | _Not set_ | When smart Table of Contents is turned on, this will hide deeper levels of the table when they are not in focus. | @@ -169,8 +169,8 @@ Many of the article defaults here can be overridden on a per article basis by sp | `homepage.homepageImage` | _Not set_ | Image to be used in `hero` and `card` layouts. Refer to the [Homepage Layout]({{< ref "homepage-layout" >}}) section for more details. | | `homepage.showRecent` | `false` | Whether or not to display the recent articles list on the homepage. | | `homepage.showRecentItems` | 5 | How many articles to display if showRecent is true. If variable is set to 0 or if it isn't defined the system will default to 5 articles. | -| `homepage.showMoreLink` | 'false' | Wether or not to display a show more link at the end of your posts that takes the user to a predefined place. | -| `homepage.showMoreLinkDest` | '/posts' | The destination of the show more button. | +| `homepage.showMoreLink` | `false` | Wether or not to display a show more link at the end of your posts that takes the user to a predefined place. | +| `homepage.showMoreLinkDest` | `/posts` | The destination of the show more button. | | `homepage.cardView` | `false` | Display recent articles as a gallery of cards. | | `homepage.cardViewScreenWidth` | `false` | Enhance the width of the recent articles card gallery to take the full width available. | | `homepage.layoutBackgroundBlur` | `false` | Makes the background image in the homepage layout blur with the scroll | From 9693a5f05f5a8bd5cc0f7902f7440da416c7404d Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:41:55 +0000 Subject: [PATCH 12/16] 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 From c154b289322685eac2291c24e253ddc883a3dbe6 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:42:16 +0000 Subject: [PATCH 13/16] Fix `sitemap` --- config/_default/params.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 8590fdaa..403a365d 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -88,7 +88,7 @@ disableImageOptimization = false constrainItemsWidth = false [sitemap] - excludedKinds = [] + excludedKinds = ["taxonomy", "term"] [taxonomy] showTermCount = true From c9205f5df37ca8b3953e4ae02982813dbe32d0dc Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:42:46 +0000 Subject: [PATCH 14/16] Fix `taxonomy` section --- config/_default/params.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 403a365d..8b3cdee1 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -92,13 +92,13 @@ disableImageOptimization = false [taxonomy] showTermCount = true - #showHero = true - #heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + showHero = false + # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground showBreadcrumbs = false - #showViews = false - #showLikes = false - #showTableOfContents = true - #cardView = false + showViews = false + showLikes = false + showTableOfContents = false + cardView = false [term] #showHero = true From c4cba04656802780efc2d5f828db4b461bed366f Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:43:28 +0000 Subject: [PATCH 15/16] Fix `term` section --- config/_default/params.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 8b3cdee1..e8960b64 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -101,15 +101,15 @@ disableImageOptimization = false cardView = false [term] - #showHero = true - #heroStyle = "background" # valid options: basic, big, background, thumbAndBackground + showHero = false + # heroStyle = "background" # valid options: basic, big, background, thumbAndBackground showBreadcrumbs = false - #showViews = false - #showLikes = false - #showTableOfContents = true - #groupByYear = false - #cardViewScreenWidth = false - #cardView = false + showViews = false + showLikes = false + showTableOfContents = true + groupByYear = false + cardView = false + cardViewScreenWidth = false [firebase] # apiKey = "XXXXXX" From 3a5d24252f121c63f5481daf6223dd0c5a188ef4 Mon Sep 17 00:00:00 2001 From: Mircea-Pavel ANTON Date: Thu, 26 Jan 2023 23:49:10 +0000 Subject: [PATCH 16/16] Fix typo --- config/_default/params.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index e8960b64..5b920ab5 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -56,7 +56,7 @@ disableImageOptimization = false layoutBackgroundHeaderSpace = true # only used when heroStyle equals background showBreadcrumbs = false showDraftLabel = true - showEdit = fa;se + showEdit = false # editURL = "https://github.com/username/repo/" editAppendPath = true seriesOpened = false