mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-27 19:27:37 +02:00
feat(middleware): add themed middleware with customizable themes and styles
- Introduced a new themed middleware that allows for dynamic theme application. - Added support for multiple themes: dark, dark-grey, solarized-dark, and custom CSS. - Included CSS files for each theme and a font CSS template for font customization. - Updated middleware registry to include the new themed middleware.
This commit is contained in:
@@ -25,6 +25,7 @@ var allMiddlewares = map[string]*Middleware{
|
||||
"hidexforwarded": HideXForwarded,
|
||||
|
||||
"modifyhtml": ModifyHTML,
|
||||
"themed": Themed,
|
||||
|
||||
"errorpage": CustomErrorPage,
|
||||
"customerrorpage": CustomErrorPage,
|
||||
|
||||
Reference in New Issue
Block a user