mirror of
git://develop.git.wordpress.org/
synced 2025-02-22 07:35:46 +01:00
Twenty Twenty-Four: Remove pattern from home template to improve performance.
Creating the Home Business pattern was needed to show it on the template replacement flows, but there's no need to use it in the template, and the minor code repetition is better than having to do a an extra pattern replacement. Follow-up to [https://github.com/WordPress/twentytwentyfour/pull/486 PR #486]. Props onemaggie, youknowriad, poena, afercia. Fixes #60620. git-svn-id: https://develop.svn.wordpress.org/trunk@57945 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f18c917f6d
commit
6ef8cf9bf8
@ -1 +1,9 @@
|
||||
<!-- wp:pattern {"slug":"twentytwentyfour/template-home-business"} /-->
|
||||
<!-- wp:template-part {"slug":"header","area":"header","tagName":"header"} /-->
|
||||
|
||||
<!-- wp:group {"tagName":"main","style":{"spacing":{"blockGap":"0","margin":{"top":"0"}}},"layout":{"type":"default"}} -->
|
||||
<main class="wp-block-group" style="margin-top:0">
|
||||
<!-- wp:pattern {"slug":"twentytwentyfour/page-home-business"} /-->
|
||||
</main>
|
||||
<!-- /wp:group -->
|
||||
|
||||
<!-- wp:template-part {"slug":"footer","area":"footer","tagName":"footer"} /-->
|
||||
|
Loading…
x
Reference in New Issue
Block a user