mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
✨ Related articles feature added
This commit is contained in:
@@ -33,3 +33,33 @@ googleAnalytics = "G-PEDMYR1V0K"
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "JSON"]
|
||||
|
||||
[related]
|
||||
threshold = 0
|
||||
toLower = false
|
||||
|
||||
[[related.indices]]
|
||||
name = "tags"
|
||||
weight = 100
|
||||
|
||||
[[related.indices]]
|
||||
name = "categories"
|
||||
weight = 100
|
||||
|
||||
[[related.indices]]
|
||||
name = "series"
|
||||
weight = 50
|
||||
|
||||
[[related.indices]]
|
||||
name = "authors"
|
||||
weight = 20
|
||||
|
||||
[[related.indices]]
|
||||
name = "date"
|
||||
weight = 10
|
||||
|
||||
[[related.indices]]
|
||||
applyFilter = false
|
||||
name = 'fragmentrefs'
|
||||
type = 'fragments'
|
||||
weight = 10
|
||||
|
||||
@@ -15,37 +15,36 @@
|
||||
pageRef = "docs"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Examples"
|
||||
weight = 20
|
||||
#[[main]]
|
||||
# name = "Examples"
|
||||
# weight = 20
|
||||
|
||||
|
||||
[[main]]
|
||||
name = "Recipes"
|
||||
parent = "Examples"
|
||||
pageRef = "guides"
|
||||
weight = 10
|
||||
|
||||
[[main]]
|
||||
name = "Samples"
|
||||
parent = "Examples"
|
||||
pageRef = "samples"
|
||||
weight = 20
|
||||
|
||||
[[main]]
|
||||
name = "Showcase"
|
||||
parent = "Examples"
|
||||
pageRef = "examples"
|
||||
weight = 30
|
||||
|
||||
[[main]]
|
||||
name = "Users"
|
||||
pageRef = "users"
|
||||
name = "Recipes"
|
||||
pageRef = "guides"
|
||||
weight = 40
|
||||
|
||||
[[main]]
|
||||
name = "Merch"
|
||||
url = "http://tee.pub/lic/qwSlWVBL5zc"
|
||||
weight = 50
|
||||
name = "Users"
|
||||
pageRef = "users"
|
||||
weight = 90
|
||||
|
||||
#[[main]]
|
||||
# name = "Merch"
|
||||
# url = "http://tee.pub/lic/qwSlWVBL5zc"
|
||||
# weight = 100
|
||||
|
||||
#[[main]]
|
||||
# name = "Test"
|
||||
@@ -56,19 +55,19 @@
|
||||
identifier = "twitter"
|
||||
pre = "twitter"
|
||||
url = "https://twitter.com/burufugu"
|
||||
weight = 60
|
||||
weight = 200
|
||||
|
||||
[[main]]
|
||||
identifier = "mastodon"
|
||||
pre = "mastodon"
|
||||
url = "https://masto.ai/@blowfish"
|
||||
weight = 70
|
||||
weight = 300
|
||||
|
||||
[[main]]
|
||||
identifier = "github"
|
||||
pre = "github"
|
||||
url = "https://github.com/nunocoracao/blowfish"
|
||||
weight = 80
|
||||
weight = 400
|
||||
|
||||
|
||||
# -- Footer Menu --
|
||||
|
||||
@@ -18,7 +18,7 @@ mainSections = ["docs"]
|
||||
disableImageOptimization = false
|
||||
|
||||
defaultBackgroundImage = "/img/bg.jpg"
|
||||
#defaultFeaturedImage = "/img/blowfish_logo.png"
|
||||
defaultFeaturedImage = "/img/paint.png"
|
||||
|
||||
highlightCurrentMenuArea = true
|
||||
smartTOC = true
|
||||
@@ -38,7 +38,7 @@ smartTOCHideUnfocusedChildren = true
|
||||
layout = "custom" # valid options: page, profile, hero, card, background, custom
|
||||
# homepageImage = "/img/iceland.jpg" # used in: hero, and card
|
||||
showRecent = false
|
||||
showRecentItems = 10
|
||||
showRecentItems = 6
|
||||
showMoreLink = true
|
||||
showMoreLinkDest = "docs"
|
||||
cardView = false
|
||||
@@ -65,6 +65,8 @@ smartTOCHideUnfocusedChildren = true
|
||||
invertPagination = false
|
||||
showReadingTime = true
|
||||
showTableOfContents = true
|
||||
showRelatedContent = true
|
||||
relatedContentLimit = 6
|
||||
showTaxonomies = true
|
||||
showAuthorsBadges = true
|
||||
showWordCount = false
|
||||
|
||||
Reference in New Issue
Block a user