Skip to content

Commit

Permalink
Merge pull request #17 from newfold-labs/fix/homepage-content
Browse files Browse the repository at this point in the history
fixing homepage content
  • Loading branch information
abhijitb authored Feb 2, 2024
2 parents 0760926 + d073066 commit a2cea71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/SiteGen/SiteGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public static function get_home_pages( $site_description, $content_style, $targe
if ( in_array( $pattern_category, $categories_to_separate, true ) ) {
$homepage_patterns[ $pattern_category ] = $random_pattern;
} else {
$homepage_patterns['content'] = $random_pattern;
$homepage_patterns['content'] = $homepage_patterns['content'] . $random_pattern;
}
}
$generated_homepages[ $slug ] = $homepage_patterns;
Expand Down

0 comments on commit a2cea71

Please sign in to comment.