Hi there
I’m looking for a way to show content, which is dependent on the logged user or dependent on his groupe. Is there a possibility to route in different directories after login dependent on the user?
Hi @simonliechti -
To get started - you could add something like this to your template:
{% if config.plugins.login.enabled and grav.user.username %}
Hello {{ grav.user.username }}
{% endif %}
from here you can build the custom content for the user.
1 Like