Skip to content

Body tag page classes #242

@g105b

Description

@g105b

At the moment, body gets the id of the URI, as well as the class names of the URI parts... here's a better idea?

uri = /index
body id=uri_index
body class=page_index

uri = /shop/beer/bud
body id=uri_shop_beer_bud
body class= page_bud page_shop page_shop

It might be nice to also differentiate the endpoint vs. URI parts in the class name, so the /shop/beer/bud would have the following classes:

page_bud uripart_shop uripart_beer uripart_bud

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions