fix: page names

This commit is contained in:
efim 2023-11-30 04:17:54 +00:00
parent de8a661952
commit e0bd77fe3b
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@ func indexPageRoute(
data := pageData{
Base: baseData{
Title: "hello base template title",
Title: "Some Automoderation: simple automation",
},
Header: headerData{
Title: session.RoomId,

View File

@ -115,7 +115,7 @@ func renderLoginPage(w http.ResponseWriter, roomName string, isRoomExisting bool
title := "Some Automoderation: Join room or create one"
if roomName != "" {
title = fmt.Sprintf("Some Automoderation: create or join '%s' room", roomName)
title = fmt.Sprintf("Some Automoderation: join room '%s'", roomName)
}
data := pageData{
Base: baseData{

View File

@ -268,7 +268,7 @@ func roomPageRoute(
}
data := pageData{
Base: baseData{
Title: "room-lala-from-base",
Title: fmt.Sprintf("Some Automoderation: discussion in '%s'", room.Name),
LoggedIn: true,
},
Content: contentData,