Settings copy
This commit is contained in:
parent
3c79301108
commit
a053e4b57d
@ -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]"
|
||||
},
|
||||
|
@ -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 --}}
|
||||
{{#if @custom.use_publication_cover_as_background}}
|
||||
{{#if @custom.background_image}}
|
||||
{{#match headerStyle "!=" "Magazine"}}
|
||||
{{#match headerStyle "!=" "Highlight"}}
|
||||
{{#if @site.cover_image}}
|
||||
|
Loading…
Reference in New Issue
Block a user