Skip to content

fix: data-page-template should not be "INHERIT" - #948

Merged
wesleyboar merged 1 commit into
mainfrom
fix/data-page-template-for-inherited-template
May 5, 2025
Merged

fix: data-page-template should not be "INHERIT"#948
wesleyboar merged 1 commit into
mainfrom
fix/data-page-template-for-inherited-template

Conversation

@wesleyboar

Copy link
Copy Markdown
Member

Overview

Always use template name, never INHERIT.

Related

Changes

  • changes function/property used to get template

Testing

  1. Open page that directly uses Standard template.
  2. Verify <html> tag has data-page-template="standard".
  3. Open child page that inherits template.
  4. Verify <html> tag has data-page-template="standard".

UI

Standard

before after
parent before and after parent before and after

Inherited

before after
inherit before inherit after

@wesleyboar
wesleyboar merged commit fc05fc4 into main May 5, 2025
@wesleyboar
wesleyboar deleted the fix/data-page-template-for-inherited-template branch May 5, 2025 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant