Commit d2e00db7 authored by Yashu Mittal's avatar Yashu Mittal 👍🏻

Enable cover image on homepage

parent 9c051d7e
......@@ -45,14 +45,14 @@
return Admin
},
HeroBgImage() {
if (!Admin.site.cover_image) {
if (Admin.site.cover_image) {
return {
backgroundImage: 'url(' + Admin.site.cover_image + ')'
}
}
},
HeroBgClass() {
if (!Admin.site.cover_image) {
if (Admin.site.cover_image) {
return 'site-header outer'
} else {
return 'site-header outer no-cover'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment