Use custom signup heading setting in landing and search headers
This commit is contained in:
parent
701b60f2c9
commit
825cbe548d
@ -63,13 +63,13 @@
|
|||||||
|
|
||||||
{{!-- Landing layout --}}
|
{{!-- Landing layout --}}
|
||||||
{{#match headerStyle "Landing"}}
|
{{#match headerStyle "Landing"}}
|
||||||
<h1 class="gh-header-title is-title">{{@site.description}}</h1>
|
<h1 class="gh-header-title is-title">{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.description}}{{/if}}</h1>
|
||||||
{{> "email-subscription"}}
|
{{> "email-subscription"}}
|
||||||
{{/match}}
|
{{/match}}
|
||||||
|
|
||||||
{{!-- Search layout --}}
|
{{!-- Search layout --}}
|
||||||
{{#match headerStyle "Search"}}
|
{{#match headerStyle "Search"}}
|
||||||
<h1 class="gh-header-title is-title">{{@site.description}}</h1>
|
<h1 class="gh-header-title is-title">{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.description}}{{/if}}</h1>
|
||||||
<form class="gh-form">
|
<form class="gh-form">
|
||||||
{{> "icons/search"}}
|
{{> "icons/search"}}
|
||||||
<button class="gh-form-input" data-ghost-search>Search posts, tags and authors</button>
|
<button class="gh-form-input" data-ghost-search>Search posts, tags and authors</button>
|
||||||
|
Loading…
Reference in New Issue
Block a user