diff --git a/themes/fluid/layout/index.ejs b/themes/fluid/layout/index.ejs index 86fc6ec6..f47e2df6 100644 --- a/themes/fluid/layout/index.ejs +++ b/themes/fluid/layout/index.ejs @@ -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)