modularised webserver and auth systems
This commit is contained in:
@@ -4,7 +4,7 @@ import "projectreshoot/internal/view/layout"
|
||||
import "projectreshoot/pkg/contexts"
|
||||
|
||||
templ Profile() {
|
||||
{{ user := contexts.GetUser(ctx) }}
|
||||
{{ user := contexts.CurrentUser(ctx) }}
|
||||
@layout.Global("Profile - " + user.Username) {
|
||||
<div class="">
|
||||
Hello, { user.Username }
|
||||
|
||||
Reference in New Issue
Block a user