Added custom text settings for signup heading and subheading
This commit is contained in:
parent
ed3147630c
commit
90c2bfba46
@ -122,6 +122,14 @@
|
||||
],
|
||||
"default": "Modern sans-serif"
|
||||
},
|
||||
"signup_heading": {
|
||||
"type": "text",
|
||||
"description": "Shows site title when empty"
|
||||
},
|
||||
"signup_subheading": {
|
||||
"type": "text",
|
||||
"description": "Shows site description when empty"
|
||||
},
|
||||
"header_style": {
|
||||
"type": "select",
|
||||
"options": [
|
||||
|
@ -6,10 +6,12 @@
|
||||
<section class="gh-cta gh-outer">
|
||||
<div class="gh-cta-inner gh-inner">
|
||||
<div class="gh-cta-content">
|
||||
<h2 class="gh-cta-title is-title">{{@site.title}}</h2>
|
||||
{{#if @site.description}}
|
||||
<p class="gh-cta-description is-body">{{@site.description}}</p>
|
||||
{{/if}}
|
||||
<h2 class="gh-cta-title is-title">
|
||||
{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.title}}{{/if}}
|
||||
</h2>
|
||||
<p class="gh-cta-description is-body">
|
||||
{{#if @custom.signup_subheading}}{{@custom.signup_subheading}}{{else}}{{@site.description}}{{/if}}
|
||||
</p>
|
||||
</div>
|
||||
{{> "email-subscription"}}
|
||||
</div>
|
||||
|
@ -20,10 +20,12 @@
|
||||
{{#if @site.members_enabled}}
|
||||
{{#unless @member}}
|
||||
<section class="gh-footer-signup">
|
||||
<h2 class="gh-footer-signup-header is-title">{{@site.title}}</h2>
|
||||
{{#if @site.description}}
|
||||
<p class="gh-footer-signup-subhead is-body">{{@site.description}}</p>
|
||||
{{/if}}
|
||||
<h2 class="gh-footer-signup-header is-title">
|
||||
{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.title}}{{/if}}
|
||||
</h2>
|
||||
<p class="gh-footer-signup-subhead is-body">
|
||||
{{#if @custom.signup_subheading}}{{@custom.signup_subheading}}{{else}}{{@site.description}}{{/if}}
|
||||
</p>
|
||||
{{> "email-subscription"}}
|
||||
</section>
|
||||
{{/unless}}
|
||||
|
Loading…
Reference in New Issue
Block a user