Skip to content

feat: data-page-template - #946

Merged
wesleyboar merged 3 commits into
mainfrom
feat/WP-197-identify-page-template-in-markup
May 5, 2025
Merged

feat: data-page-template#946
wesleyboar merged 3 commits into
mainfrom
feat/WP-197-identify-page-template-in-markup

Conversation

@wesleyboar

@wesleyboar wesleyboar commented May 5, 2025

Copy link
Copy Markdown
Member

Overview

Add data-page-template to <html>, so stylesheets can target pages with specific template e.g. [data-page-template="…"] { /* ... */ }.

Related

Testing

  1. Open http://localhost:8000/.
  2. Verify <html> has data-page-template="standard">.

UI

data-page-template

@wesleyboar
wesleyboar merged commit 38885b9 into main May 5, 2025
@wesleyboar
wesleyboar deleted the feat/WP-197-identify-page-template-in-markup branch May 5, 2025 21:10
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