Skip to content

Commit 7917c67

Browse files
authored
Add home to list of new templates (#47389)
1 parent cc81040 commit 7917c67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/edit-site/src/components/add-new-template/new-template.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import {
2424
post,
2525
postAuthor,
2626
postDate,
27+
postList,
2728
search,
2829
tag,
2930
layout as customGenericTemplateIcon,
@@ -51,6 +52,7 @@ import { unlock } from '../../private-apis';
5152

5253
const DEFAULT_TEMPLATE_SLUGS = [
5354
'front-page',
55+
'home',
5456
'single',
5557
'page',
5658
'index',
@@ -66,6 +68,7 @@ const DEFAULT_TEMPLATE_SLUGS = [
6668

6769
const TEMPLATE_ICONS = {
6870
'front-page': home,
71+
home: postList,
6972
single: post,
7073
page,
7174
archive,

0 commit comments

Comments
 (0)