Closed HunterDG closed 4 years ago
Just copy the partials/login-status.html.twig
file into your theme's templates/
folder (keep the partials dir) and edit it as you need:
https://github.com/getgrav/grav-plugin-login/blob/develop/templates/partials/login-status.html.twig
Or just take this example and directly copy/paste it into your theme's menu/header.
Thanks, I've done this, but thought a simple toggle would be nice. :) Had to modify both base and login-status twigs, so maybe it's not exactly straightforward for a toggle at this time, but maybe future enhancement?
`base.html.twig` ```twig [...]
I hope I'm not missing something obvious, but a setting in the Login plugin to show "Login" link in the menu (where "Logout" is when logged-in) would be very nice!