Anyone there who knows how to access account information from within twig ?
something like …
{{ accounts.admin.bio }}
---
Anyone there who knows how to access account information from within twig ?
something like …
{{ accounts.admin.bio }}
---
You can refer to the current authenticated user with
{{dump(grav.user.authenticated)}}
{{dump(grav.user.email)}}
Accounts information regarding other users is not available by default, you’ll need a plugin to make that available in twig
Seems not to work with the recent version of grav. So I made myself an plugin to publish all account data put into an ‘public’ section. Big question is: How to cache that?