Skip to content

Commit 5d8215f

Browse files
authored
Merge pull request #658 from newfold-labs/fix-site-title-tagline
add site title and description to flow data
2 parents 9ba61f3 + 45bd7ad commit 5d8215f

File tree

1 file changed

+3
-0
lines changed
  • src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen

1 file changed

+3
-0
lines changed

src/OnboardingSPA/components/NewfoldInterfaceSkeleton/SiteGen/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ const SiteGen = () => {
204204

205205
// Sets the Site Title and Taglin in Live Preview
206206
if ( identifier === 'site_config' ) {
207+
// Set site title and subtitle in the flow data
208+
currentData.data.blogName = data.body.site_title;
209+
currentData.data.blogDescription = data.body.tagline;
207210
editEntityRecord( 'root', 'site', undefined, {
208211
title: data.body.site_title,
209212
description: data.body.tagline,

0 commit comments

Comments
 (0)