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

Show frontmatter as fields in the normal mode?

admin

Started by nicolas 2 years ago · 2 replies · 166 views
2 years ago

Hi :)

I have pages with a various custom variables in the frontmatter, in fact a lot of content snippets that appear on the pages are stored in the frontmatter. It works great.

However, the only way to edit them from the admin panel is through the Expert mode, and only as the raw frontmatter code.

I would absolutely love a way to show all my frontmatter variables used on a page as fields in the admin panel when using the Normal mode. Is there a way to do this? A plug-in maybe?

If not I believe this would be a great improvement on Grav, to enable editors or clients to change content and options there without getting into code syntax. Maybe it could be a tab between “Content” and “Options”.

Let me know, thanks :)

👍 1
2 years ago

I realise this sounds like blueprints, and it’s basically that, but automatically and for all frontmatter variables. Most of my pages have different templates and a bunch of variables that are unique to them, and I’d rather not manually create a blueprint for each of them. Maybe that could be an “auto” keyword mode for blueprints?

2 years ago

Currently, there’s no built-in way to display frontmatter variables as fields in Normal mode. A plugin might help, or you could suggest this feature for future Grav updates to simplify content editing.

Suggested topics

Topic Participants Replies Views Activity
General · by Hanns Mattes, 3 weeks ago
1 268 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 196 3 weeks ago
General · by Jerry Hunt, 3 weeks ago
2 331 3 weeks ago
General · by pamtbaau, 3 weeks ago
1 253 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 222 3 weeks ago