Get user's name and show on home page

Hi

I’m trying to get my bearings with Grav, a lot to learn so I’m just playing about at the moment and trying to create a dummy theme.

I’ve been using lines like {{ page.summary }} to display content but how do I show the user’s info like username, full name, title, email, language?

Use {{ grav.user.username }} and the other properties of the User object (you can check which ones are availble by doing {{dump(grav.user)}} with the debug bar.

Hi,

I would start looking at grav login plugin.
check the template file such as templates/partials/login-status.html.twig.
You will see that you can use the following:

{{ grav.user.username }}
{{ grav.user.email }}
{{ grav.user.fullname }}

Hope it helps you get on the right track.