From a053e4b57d8fbb4bd2a6fa8240fc4d2bdcc90c4a Mon Sep 17 00:00:00 2001 From: Sodbileg Gansukh Date: Tue, 19 Sep 2023 18:49:41 +0800 Subject: [PATCH] Settings copy --- package.json | 6 +++--- partials/components/header-content.hbs | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index db978aa..12a73fa 100644 --- a/package.json +++ b/package.json @@ -139,14 +139,14 @@ "Search", "Off" ], - "description": "Landing is recommended for all sites, Highlight & Magazine are ideal for those with more content", + "description": "Landing is recommended for all sites, Highlight & Magazine for those with more content", "default": "Landing", "group": "homepage" }, - "use_publication_cover_as_background": { + "background_image": { "type": "boolean", "default": false, - "description": "A cover image can be uploaded in Brand settings", + "description": "Use the publication cover set on the Brand tab as your background", "group": "homepage", "visibility": "header_style:[Landing, Search]" }, diff --git a/partials/components/header-content.hbs b/partials/components/header-content.hbs index dbfb0f1..68af4e6 100644 --- a/partials/components/header-content.hbs +++ b/partials/components/header-content.hbs @@ -1,7 +1,7 @@ -
+
{{!-- Background image --}} - {{#if @custom.use_publication_cover_as_background}} + {{#if @custom.background_image}} {{#match headerStyle "!=" "Magazine"}} {{#match headerStyle "!=" "Highlight"}} {{#if @site.cover_image}}