Skip to content

Commit

Permalink
feat: added singular template support
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayank-Tripathi32 committed Dec 6, 2024
1 parent bb56ce8 commit f398822
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/edit-site/src/components/add-new-template/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import {
verse,
search,
tag,
pencil,
} from '@wordpress/icons';
import { __, sprintf } from '@wordpress/i18n';
import { store as noticesStore } from '@wordpress/notices';
Expand Down Expand Up @@ -77,6 +78,7 @@ const DEFAULT_TEMPLATE_SLUGS = [
'tag',
'search',
'404',
'singular',
];

const TEMPLATE_ICONS = {
Expand All @@ -94,6 +96,7 @@ const TEMPLATE_ICONS = {
date: calendar,
tag,
attachment: media,
singular: pencil,
};

function TemplateListItem( {
Expand Down

0 comments on commit f398822

Please sign in to comment.