Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "data-template" attribute to body tag #1596

Open
ericras opened this issue Jun 22, 2022 · 0 comments
Open

Add "data-template" attribute to body tag #1596

ericras opened this issue Jun 22, 2022 · 0 comments

Comments

@ericras
Copy link
Member

ericras commented Jun 22, 2022

https://github.com/unl/sitemaster_plugin_unl is adding support for checking the template being used: fixed, local, affiliate, app.

Right now that is only found in an HTML comment and sometimes that comment is stripped by the site implementer.

It would be easier to have a data attribute on the body tag like we do for the version number.

<body data-version="6.0" data-template="local">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant