Settings copy
This commit is contained in:
parent
3c79301108
commit
a053e4b57d
@ -139,14 +139,14 @@
|
|||||||
"Search",
|
"Search",
|
||||||
"Off"
|
"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",
|
"default": "Landing",
|
||||||
"group": "homepage"
|
"group": "homepage"
|
||||||
},
|
},
|
||||||
"use_publication_cover_as_background": {
|
"background_image": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"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",
|
"group": "homepage",
|
||||||
"visibility": "header_style:[Landing, Search]"
|
"visibility": "header_style:[Landing, Search]"
|
||||||
},
|
},
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<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">
|
<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">
|
||||||
|
|
||||||
{{!-- Background image --}}
|
{{!-- Background image --}}
|
||||||
{{#if @custom.use_publication_cover_as_background}}
|
{{#if @custom.background_image}}
|
||||||
{{#match headerStyle "!=" "Magazine"}}
|
{{#match headerStyle "!=" "Magazine"}}
|
||||||
{{#match headerStyle "!=" "Highlight"}}
|
{{#match headerStyle "!=" "Highlight"}}
|
||||||
{{#if @site.cover_image}}
|
{{#if @site.cover_image}}
|
||||||
|
Loading…
Reference in New Issue
Block a user