add routers themes

This commit is contained in:
张超
2025-04-09 16:56:05 +08:00
parent 577cd10161
commit 33cb413a12
14 changed files with 275 additions and 118 deletions

View File

@@ -1,4 +1,4 @@
package theme // Declare the package at the top
package themes // Declare the package at the top
import (
"fmt"
"html/template"
@@ -52,3 +52,6 @@ func (tm *ThemeManager) LoadTheme(themeName string) error {
return nil
}
func NewManager() *ThemeManager {
return &ThemeManager{}
}