Skip to content

Commit

Permalink
Showing the details pages for the index template
Browse files Browse the repository at this point in the history
Updating translations for entity types when saving
  • Loading branch information
ramonjd committed Jun 13, 2023
1 parent 2a17bf5 commit 798edab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function useTemplateDetails( postType, postId ) {
}

let content = null;
if ( record?.slug === 'home' ) {
if ( record?.slug === 'home' || record?.slug === 'index' ) {
content = <HomeTemplateDetails />;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ const TRANSLATED_SITE_PROPERTIES = {
site_icon: __( 'Icon' ),
show_on_front: __( 'Show on front' ),
page_on_front: __( 'Page on front' ),
posts_per_page: __( 'Maximum posts per page' ),
default_comment_status: __( 'Allow comments on new posts' ),
};

export const useIsDirty = () => {
Expand Down

0 comments on commit 798edab

Please sign in to comment.