nhsuk / nhsuk-service-manual

Design and build digital services for the NHS. Use the service manual to build consistent, usable services that put people first.​ Learn from the research and experience of other NHS teams.
https://service-manual.nhs.uk
MIT License
66 stars 25 forks source link

bodyAttributes is documented but doesn’t seem to be used in tempalte #2088

Open frankieroberto opened 2 weeks ago

frankieroberto commented 2 weeks ago

Whilst reviewing the Page template I noticed that it lists a `bodyAttributes option:

Screenshot 2024-11-11 at 22 35 29

However this doesn’t seem to be used in the page template in either the Service Manual template or the Prototype Kit template or the NHS Frontend docs template.

We could either drop it from the documentation in the Service Manual, or add the feature to the various templates.

I can’t remember ever having used it in GOV.UK Frontend (which does support it), but I might have forgotten.