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

Configuring the yaml frontmatter provided by admin editor

admin

Started by Rance Hall 2 years ago · 2 replies · 164 views
2 years ago

I am seeking a method to have the gui editor in the admin section automatically add the Full name of the user that saves an initial blog post instead of the site user.

I don't care about future editors, just who wrote it originally. I've adjusted the theme to use page.header.author to display the field, which works when I manually edit the front matter.

If I understand correctly, this is a blueprint, but I couldn't find an example close enough to my use case to explain how I should go about this.

Will someone please point me in the right direction?

2 years ago

It would seem so. thanks for the tip, now to figure out the "name" of the logged in user,

Suggested topics

Topic Participants Replies Views Activity
Support · by Paul Hodges, 4 weeks ago
19 484 5 days ago
Support · by Lauw, 7 days ago
2 99 7 days ago
Support · by Anna, 3 weeks ago
4 426 1 week ago
Support · by gtx, 4 weeks ago
4 377 3 weeks ago
Support · by Anna, 1 month ago
9 484 3 weeks ago