mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-22 14:35:43 -06:00
add trailing slash for homepage.showMoreLinkDest
This commit is contained in:
parent
580f36f0de
commit
c35242e912
6 changed files with 6 additions and 6 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue