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"
|
"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": {
|
"header_style": {
|
||||||
"type": "select",
|
"type": "select",
|
||||||
"options": [
|
"options": [
|
||||||
|
@ -6,10 +6,12 @@
|
|||||||
<section class="gh-cta gh-outer">
|
<section class="gh-cta gh-outer">
|
||||||
<div class="gh-cta-inner gh-inner">
|
<div class="gh-cta-inner gh-inner">
|
||||||
<div class="gh-cta-content">
|
<div class="gh-cta-content">
|
||||||
<h2 class="gh-cta-title is-title">{{@site.title}}</h2>
|
<h2 class="gh-cta-title is-title">
|
||||||
{{#if @site.description}}
|
{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.title}}{{/if}}
|
||||||
<p class="gh-cta-description is-body">{{@site.description}}</p>
|
</h2>
|
||||||
{{/if}}
|
<p class="gh-cta-description is-body">
|
||||||
|
{{#if @custom.signup_subheading}}{{@custom.signup_subheading}}{{else}}{{@site.description}}{{/if}}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{{> "email-subscription"}}
|
{{> "email-subscription"}}
|
||||||
</div>
|
</div>
|
||||||
|
@ -20,10 +20,12 @@
|
|||||||
{{#if @site.members_enabled}}
|
{{#if @site.members_enabled}}
|
||||||
{{#unless @member}}
|
{{#unless @member}}
|
||||||
<section class="gh-footer-signup">
|
<section class="gh-footer-signup">
|
||||||
<h2 class="gh-footer-signup-header is-title">{{@site.title}}</h2>
|
<h2 class="gh-footer-signup-header is-title">
|
||||||
{{#if @site.description}}
|
{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.title}}{{/if}}
|
||||||
<p class="gh-footer-signup-subhead is-body">{{@site.description}}</p>
|
</h2>
|
||||||
{{/if}}
|
<p class="gh-footer-signup-subhead is-body">
|
||||||
|
{{#if @custom.signup_subheading}}{{@custom.signup_subheading}}{{else}}{{@site.description}}{{/if}}
|
||||||
|
</p>
|
||||||
{{> "email-subscription"}}
|
{{> "email-subscription"}}
|
||||||
</section>
|
</section>
|
||||||
{{/unless}}
|
{{/unless}}
|
||||||
|
Loading…
Reference in New Issue
Block a user