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

Body attributes #1072

Merged
merged 2 commits into from
Dec 13, 2019
Merged

Body attributes #1072

merged 2 commits into from
Dec 13, 2019

Conversation

IanDelMar
Copy link
Contributor

@IanDelMar IanDelMar commented Dec 3, 2019

Adds the function understrap_body_attributes() and the filter understrap_body_attributes . Attributes, e.g. data attributes for scrollspy, may be added to the body element using the filter.

Removes the schema markup from the div#wrapper-navbar element. Adds the schema markup to the body by hooking into understrap_body_attributes filter.

Function to display attributes for the body element. Attributes may be added via the filter `understrap_body_attributes`
Removes schema markup from the div#wrapper-navbar element.
Re-adds the schema markup on the body element via filter.
@UnderstrapFramework UnderstrapFramework merged commit d7a7be8 into understrap:master Dec 13, 2019
@IanDelMar IanDelMar deleted the body-attributes branch December 14, 2019 05:15
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.

2 participants