add website name to title

This commit is contained in:
pluja 2024-08-28 08:28:23 +02:00
parent 747553edbc
commit 7dc5d80ed8
No known key found for this signature in database

View File

@ -116,7 +116,7 @@ func (s *Server) handleService(c iris.Context) {
c.ViewLayout("main")
data := iris.Map{
"Title": fmt.Sprintf("%v", strings.ToUpper(service.Name)),
"Title": fmt.Sprintf("%v | KYCNOT.ME", strings.ToUpper(service.Name)),
"Service": service,
"Attributes": service.Expand["attributes"],
}
@ -165,7 +165,7 @@ func (s *Server) handleAttribute(c iris.Context) {
c.ViewLayout("main")
data := iris.Map{
"Title": fmt.Sprintf("%v", strings.ToUpper(attribute.Title)),
"Title": fmt.Sprintf("%v | KYCNOT.ME", strings.ToUpper(attribute.Title)),
"Attribute": attribute,
"Services": services,
}