Skip to content

Commit a053e4b

Browse files
Settings copy
1 parent 3c79301 commit a053e4b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@
139139
"Search",
140140
"Off"
141141
],
142-
"description": "Landing is recommended for all sites, Highlight & Magazine are ideal for those with more content",
142+
"description": "Landing is recommended for all sites, Highlight & Magazine for those with more content",
143143
"default": "Landing",
144144
"group": "homepage"
145145
},
146-
"use_publication_cover_as_background": {
146+
"background_image": {
147147
"type": "boolean",
148148
"default": false,
149-
"description": "A cover image can be uploaded in Brand settings",
149+
"description": "Use the publication cover set on the Brand tab as your background",
150150
"group": "homepage",
151151
"visibility": "header_style:[Landing, Search]"
152152
},

partials/components/header-content.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
<section class="gh-header is-{{#match headerStyle "Magazine"}}magazine{{else match headerStyle "Highlight"}}highlight{{else}}classic{{/match}}{{#if @custom.use_publication_cover_as_background}}{{#if @site.cover_image}} has-image{{/if}}{{/if}} gh-outer">
1+
<section class="gh-header is-{{#match headerStyle "Magazine"}}magazine{{else match headerStyle "Highlight"}}highlight{{else}}classic{{/match}}{{#if @custom.background_image}}{{#if @site.cover_image}} has-image{{/if}}{{/if}} gh-outer">
22

33
{{!-- Background image --}}
4-
{{#if @custom.use_publication_cover_as_background}}
4+
{{#if @custom.background_image}}
55
{{#match headerStyle "!=" "Magazine"}}
66
{{#match headerStyle "!=" "Highlight"}}
77
{{#if @site.cover_image}}

0 commit comments

Comments
 (0)