File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 143
143
"default" : " Landing" ,
144
144
"group" : " homepage"
145
145
},
146
+ "header_text" : {
147
+ "type" : " text" ,
148
+ "group" : " homepage" ,
149
+ "description" : " Defaults to site description when empty" ,
150
+ "visibility" : " header_style:[Landing, Search]"
151
+ },
146
152
"background_image" : {
147
153
"type" : " boolean" ,
148
154
"default" : true ,
Original file line number Diff line number Diff line change 63
63
64
64
{{!-- Landing layout --}}
65
65
{{ #match headerStyle " Landing" }}
66
- <h1 class =" gh-header-title is-title" >{{ #if @custom.signup_heading }} {{ @custom.signup_heading }} {{ else }} {{ @site.description }} {{ /if }} </h1 >
66
+ <h1 class =" gh-header-title is-title" >{{ #if @custom.header_text }} {{ @custom.header_text }} {{ else }} {{ @site.description }} {{ /if }} </h1 >
67
67
{{> " email-subscription" }}
68
68
{{ /match }}
69
69
70
70
{{!-- Search layout --}}
71
71
{{ #match headerStyle " Search" }}
72
- <h1 class =" gh-header-title is-title" >{{ #if @custom.signup_heading }} {{ @custom.signup_heading }} {{ else }} {{ @site.description }} {{ /if }} </h1 >
72
+ <h1 class =" gh-header-title is-title" >{{ #if @custom.header_text }} {{ @custom.header_text }} {{ else }} {{ @site.description }} {{ /if }} </h1 >
73
73
<form class =" gh-form" >
74
74
{{> " icons/search" }}
75
75
<button class =" gh-form-input" data-ghost-search>Search posts, tags and authors</button >
You can’t perform that action at this time.
0 commit comments