Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Configuring the yaml frontmatter provided by admin editor

admin

Started by Rance Hall 2 years ago · 2 replies · 198 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 blu3prince, 4 days ago
1 65 3 hours ago
Support · by complanar, 7 days ago
6 156 1 day ago
Support · by Rick Beebe, 7 days ago
2 115 3 days ago
Support · by alex, 5 days ago
2 101 4 days ago
Support · by Marcel, 2 weeks ago
1 151 4 days ago