Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Support

Body_classes setting not visible in frontmatter although is present inside the file and UI form

admin theme

Started by Martin 4 years ago · 1 replies · 492 views
4 years ago

I'm using the default Quark theme. I found that "Body classes" is a nice feature for one of my pages, so I set it up and it worked. However, when I switched Admin UI to Expert mode I was surprised to see that body_classes is missing from there. So I decided that maybe it's stored somewhere else. But then I opened up the file in my text editor and I see that body_classes is present there. I refreshed admin UI, text editor multiple times - the same result, no body_classes in frontmatter, but present in both file and UI form field.

What's going on? Why Grav admin UI does not display this property in the frontmatter if it's clearly present in the file and works?

I was under impression that frontmatter should include everything I set in those non-expert dialogs, but now this issue creates a weird situation when I can actually set more things through UI than in frontmatter.

image|651x367
image|690x333

Suggested topics

Topic Participants Replies Views Activity
Support · by Thomas, 1 week ago
2 54 11 hours ago
Support · by Anna, 3 days ago
2 60 14 hours ago
Support · by Justin Young, 15 hours ago
1 30 15 hours ago
Support · by Duc , 1 week ago
2 65 5 days ago
Support · by Colin Hume, 1 week ago
2 57 5 days ago