File tree Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Expand file tree Collapse file tree 3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 122
122
],
123
123
"default" : " Modern sans-serif"
124
124
},
125
+ "signup_heading" : {
126
+ "type" : " text" ,
127
+ "description" : " Shows site title when empty"
128
+ },
129
+ "signup_subheading" : {
130
+ "type" : " text" ,
131
+ "description" : " Shows site description when empty"
132
+ },
125
133
"header_style" : {
126
134
"type" : " select" ,
127
135
"options" : [
Original file line number Diff line number Diff line change 6
6
<section class =" gh-cta gh-outer" >
7
7
<div class =" gh-cta-inner gh-inner" >
8
8
<div class =" gh-cta-content" >
9
- <h2 class =" gh-cta-title is-title" >{{ @site.title }} </h2 >
10
- {{ #if @site.description }}
11
- <p class =" gh-cta-description is-body" >{{ @site.description }} </p >
12
- {{ /if }}
9
+ <h2 class =" gh-cta-title is-title" >
10
+ {{ #if @custom.signup_heading }} {{ @custom.signup_heading }} {{ else }} {{ @site.title }} {{ /if }}
11
+ </h2 >
12
+ <p class =" gh-cta-description is-body" >
13
+ {{ #if @custom.signup_subheading }} {{ @custom.signup_subheading }} {{ else }} {{ @site.description }} {{ /if }}
14
+ </p >
13
15
</div >
14
16
{{> " email-subscription" }}
15
17
</div >
Original file line number Diff line number Diff line change 20
20
{{ #if @site.members_enabled }}
21
21
{{ #unless @member }}
22
22
<section class =" gh-footer-signup" >
23
- <h2 class =" gh-footer-signup-header is-title" >{{ @site.title }} </h2 >
24
- {{ #if @site.description }}
25
- <p class =" gh-footer-signup-subhead is-body" >{{ @site.description }} </p >
26
- {{ /if }}
23
+ <h2 class =" gh-footer-signup-header is-title" >
24
+ {{ #if @custom.signup_heading }} {{ @custom.signup_heading }} {{ else }} {{ @site.title }} {{ /if }}
25
+ </h2 >
26
+ <p class =" gh-footer-signup-subhead is-body" >
27
+ {{ #if @custom.signup_subheading }} {{ @custom.signup_subheading }} {{ else }} {{ @site.description }} {{ /if }}
28
+ </p >
27
29
{{> " email-subscription" }}
28
30
</section >
29
31
{{ /unless }}
You can’t perform that action at this time.
0 commit comments