Skip to content

Commit 825cbe5

Browse files
Use custom signup heading setting in landing and search headers
1 parent 701b60f commit 825cbe5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

partials/components/header-content.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@
6363

6464
{{!-- Landing layout --}}
6565
{{#match headerStyle "Landing"}}
66-
<h1 class="gh-header-title is-title">{{@site.description}}</h1>
66+
<h1 class="gh-header-title is-title">{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.description}}{{/if}}</h1>
6767
{{> "email-subscription"}}
6868
{{/match}}
6969

7070
{{!-- Search layout --}}
7171
{{#match headerStyle "Search"}}
72-
<h1 class="gh-header-title is-title">{{@site.description}}</h1>
72+
<h1 class="gh-header-title is-title">{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.description}}{{/if}}</h1>
7373
<form class="gh-form">
7474
{{> "icons/search"}}
7575
<button class="gh-form-input" data-ghost-search>Search posts, tags and authors</button>

0 commit comments

Comments
 (0)