Skip to content

Commit

Permalink
Merge branch 'master' into demo
Browse files Browse the repository at this point in the history
  • Loading branch information
cellargalaxy committed Nov 19, 2023
2 parents 39d7fcc + 67eeab1 commit 67b89aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/fluid/layout/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function hash(text) {
}
page.banner_group = page.banner_group || theme.index.banner_group
if (Array.isArray(page.banner_group) && page.banner_group.length) {
var index = hash(page.subtitle || page.title) % page.banner_group.length
var index = 0
page.banner_img = page.banner_group[index].img || page.banner_img
page.banner_text = page.banner_group[index].text || page.subtitle || page.title
page.banner_img_height = parseFloat(page.banner_group[index].height || 100)
Expand Down

0 comments on commit 67b89aa

Please sign in to comment.