Changeset 0.37.12 (#224)
Co-authored-by: gobha <jasafpro@gmail.com> Co-committed-by: gobha <jasafpro@gmail.com>
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
// templates/login.html — standalone login page
|
||||
// templates/components/*.html — reusable partials (model-select, team-select, chat-pane, etc.)
|
||||
// templates/surfaces/*.html — one per surface (chat, editor, notes, admin, etc.)
|
||||
// templates/admin/*.html — admin sub-pages (roles, routing, providers, etc.)
|
||||
package pages
|
||||
|
||||
import (
|
||||
@@ -29,7 +28,7 @@ import (
|
||||
"chat-switchboard/store"
|
||||
)
|
||||
|
||||
//go:embed templates/*.html templates/components/*.html templates/surfaces/*.html templates/admin/*.html
|
||||
//go:embed templates/*.html templates/components/*.html templates/surfaces/*.html
|
||||
var templateFS embed.FS
|
||||
|
||||
// Engine holds parsed templates and rendering state.
|
||||
@@ -271,7 +270,6 @@ func (e *Engine) parseTemplates() {
|
||||
"templates/*.html",
|
||||
"templates/components/*.html",
|
||||
"templates/surfaces/*.html",
|
||||
"templates/admin/*.html",
|
||||
)
|
||||
if err != nil {
|
||||
log.Fatalf("❌ Failed to parse templates: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user