mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
add trailing slash for homepage.showMoreLinkDest
This commit is contained in:
@@ -47,7 +47,7 @@ forgejoDefaultServer = "https://v8.next.forgejo.org"
|
||||
showRecent = false
|
||||
showRecentItems = 5
|
||||
showMoreLink = false
|
||||
showMoreLinkDest = "/posts"
|
||||
showMoreLinkDest = "/posts/"
|
||||
cardView = false
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = false # only used when layout equals background
|
||||
|
||||
@@ -207,7 +207,7 @@ Next, let's configure our homepage. We’re going with the _background_ layout,
|
||||
showRecent = true
|
||||
showRecentItems = 6
|
||||
showMoreLink = true
|
||||
showMoreLinkDest = "/posts"
|
||||
showMoreLinkDest = "/posts/"
|
||||
cardView = true
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = true # only used when layout equals background
|
||||
|
||||
@@ -207,7 +207,7 @@ Next, let's configure our homepage. We’re going with the _background_ layout,
|
||||
showRecent = true
|
||||
showRecentItems = 6
|
||||
showMoreLink = true
|
||||
showMoreLinkDest = "/posts"
|
||||
showMoreLinkDest = "/posts/"
|
||||
cardView = true
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = true # only used when layout equals background
|
||||
|
||||
@@ -207,7 +207,7 @@ Next, let's configure our homepage. We’re going with the _background_ layout,
|
||||
showRecent = true
|
||||
showRecentItems = 6
|
||||
showMoreLink = true
|
||||
showMoreLinkDest = "/posts"
|
||||
showMoreLinkDest = "/posts/"
|
||||
cardView = true
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = true # only used when layout equals background
|
||||
|
||||
@@ -208,7 +208,7 @@ defaultBackgroundImage = "image.jpg" # used as default for background images
|
||||
showRecent = true
|
||||
showRecentItems = 6
|
||||
showMoreLink = true
|
||||
showMoreLinkDest = "/posts"
|
||||
showMoreLinkDest = "/posts/"
|
||||
cardView = true
|
||||
cardViewScreenWidth = false
|
||||
layoutBackgroundBlur = true # only used when layout equals background
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{ $recentArticles := 5 }}
|
||||
{{ $showMoreLinkDest := "/posts" }}
|
||||
{{ $showMoreLinkDest := "/posts/" }}
|
||||
{{ if index .Site.Params.homepage "showRecentItems" }}
|
||||
{{ $recentArticles = .Site.Params.homepage.showRecentItems }}
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user