File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 139
139
" Search" ,
140
140
" Off"
141
141
],
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" ,
143
143
"default" : " Landing" ,
144
144
"group" : " homepage"
145
145
},
146
- "use_publication_cover_as_background " : {
146
+ "background_image " : {
147
147
"type" : " boolean" ,
148
148
"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 " ,
150
150
"group" : " homepage" ,
151
151
"visibility" : " header_style:[Landing, Search]"
152
152
},
Original file line number Diff line number Diff line change 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" >
2
2
3
3
{{!-- Background image --}}
4
- {{ #if @custom.use_publication_cover_as_background }}
4
+ {{ #if @custom.background_image }}
5
5
{{ #match headerStyle " !=" " Magazine" }}
6
6
{{ #match headerStyle " !=" " Highlight" }}
7
7
{{ #if @site.cover_image }}
You can’t perform that action at this time.
0 commit comments