Changed layout to have dynamic page title
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user