From 825cbe548dda975c887a17b7766f92aeef411c7a Mon Sep 17 00:00:00 2001 From: Sodbileg Gansukh Date: Thu, 21 Sep 2023 19:49:45 +0800 Subject: [PATCH] Use custom signup heading setting in landing and search headers --- partials/components/header-content.hbs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/partials/components/header-content.hbs b/partials/components/header-content.hbs index e29cbe2..ca2923d 100644 --- a/partials/components/header-content.hbs +++ b/partials/components/header-content.hbs @@ -63,13 +63,13 @@ {{!-- Landing layout --}} {{#match headerStyle "Landing"}} -

{{@site.description}}

+

{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.description}}{{/if}}

{{> "email-subscription"}} {{/match}} {{!-- Search layout --}} {{#match headerStyle "Search"}} -

{{@site.description}}

+

{{#if @custom.signup_heading}}{{@custom.signup_heading}}{{else}}{{@site.description}}{{/if}}

{{> "icons/search"}}