You've already forked Ghost-Theme-Source
Added custom text settings for signup heading and subheading
This commit is contained in:
@@ -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}}
|
||||
|
||||
Reference in New Issue
Block a user