Use Ghost site name for subscribe form instead of admin.yml one
This commit is contained in:
parent
77526a77f1
commit
23cf280f36
1 changed files with 12 additions and 1 deletions
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
<!-- Email subscribe form at the bottom of the page -->
|
<!-- Email subscribe form at the bottom of the page -->
|
||||||
<section v-if="Admin.site.subscribers" class="subscribe-form">
|
<section v-if="Admin.site.subscribers" class="subscribe-form">
|
||||||
<h3 class="subscribe-form-title">Subscribe to {{ Admin.site.title }}</h3>
|
<h3 class="subscribe-form-title">Subscribe to {{ $static.metadata.ghost.title }}</h3>
|
||||||
<p>Get the latest posts delivered right to your inbox</p>
|
<p>Get the latest posts delivered right to your inbox</p>
|
||||||
<subscribeForm placeholder="youremail@example.com"/>
|
<subscribeForm placeholder="youremail@example.com"/>
|
||||||
</section>
|
</section>
|
||||||
|
@ -163,3 +163,14 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</page-query>
|
</page-query>
|
||||||
|
|
||||||
|
<static-query>
|
||||||
|
query Metadata {
|
||||||
|
metadata {
|
||||||
|
ghost {
|
||||||
|
title
|
||||||
|
url
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</static-query>
|
||||||
|
|
Loading…
Reference in a new issue