Skip to content

Commit

Permalink
Add home to list of new templates (#47389)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan authored Apr 18, 2023
1 parent cc81040 commit 7917c67
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import {
post,
postAuthor,
postDate,
postList,
search,
tag,
layout as customGenericTemplateIcon,
Expand Down Expand Up @@ -51,6 +52,7 @@ import { unlock } from '../../private-apis';

const DEFAULT_TEMPLATE_SLUGS = [
'front-page',
'home',
'single',
'page',
'index',
Expand All @@ -66,6 +68,7 @@ const DEFAULT_TEMPLATE_SLUGS = [

const TEMPLATE_ICONS = {
'front-page': home,
home: postList,
single: post,
page,
archive,
Expand Down

0 comments on commit 7917c67

Please sign in to comment.