Hide subscription button and form if Members feature is disabled (#375)
This commit is contained in:
parent
01ae42c45d
commit
da7c113ef9
@ -31,7 +31,9 @@ into the {body} of the default.hbs template --}}
|
||||
{{#if @site.description}}
|
||||
<p class="m-hero-description bigger">{{@site.description}}</p>
|
||||
{{/if}}
|
||||
{{#if @labs.members}}
|
||||
<a href="{{@site.url}}/newsletter" class="m-button filled js-newsletter">{{t "Subscribe"}}</a>
|
||||
{{/if}}
|
||||
</div>
|
||||
</section>
|
||||
<div class="l-content">
|
||||
|
2
post.hbs
2
post.hbs
@ -84,6 +84,7 @@ into the {body} of the default.hbs template --}}
|
||||
</div>
|
||||
</div>
|
||||
{{!-- Email subscribe form at the bottom of the page --}}
|
||||
{{#if @labs.members}}
|
||||
<section class="m-subscribe-section js-newsletter">
|
||||
<div class="l-wrapper in-post">
|
||||
<div class="m-subscribe-section__content">
|
||||
@ -99,6 +100,7 @@ into the {body} of the default.hbs template --}}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
{{/if}}
|
||||
<section class="m-author">
|
||||
<div class="m-author__content">
|
||||
<div class="m-author__picture">
|
||||
|
@ -2,7 +2,7 @@ version: '3'
|
||||
|
||||
services:
|
||||
ghost:
|
||||
image: ghost:4.3.3
|
||||
image: ghost:4.4.0
|
||||
container_name: ghost
|
||||
volumes:
|
||||
- ./..:/var/lib/ghost/content/themes/liebling:Z
|
||||
|
Loading…
Reference in New Issue
Block a user