Changed layout to have dynamic page title

This commit is contained in:
2025-03-01 21:27:23 +11:00
parent 141b541e98
commit 9e12f946b3
10 changed files with 11 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ import "projectreshoot/contexts"
templ Profile() {
{{ user := contexts.GetUser(ctx) }}
@layout.Global() {
@layout.Global("Profile - " + user.Username) {
<div class="">
Hello, { user.Username }
</div>