Add Timezone, Zombie GC. Improved and select theme.
This commit is contained in:
1 parent
ea3eba180b
commit
5a596985e0
26 files changed
+605
-59
No files matched your search
@@ -7,10 +7,12 @@ import (
|
||||
func mergeTemplateData(
|
||||
data any,
|
||||
wikiName string,
|
||||
theme string,
|
||||
) map[string]any {
|
||||
|
||||
out := map[string]any{
|
||||
"WikiName": wikiName,
|
||||
"Theme": theme,
|
||||
}
|
||||
|
||||
if data == nil {
|
||||
@@ -43,6 +45,7 @@ func (s *Server) render(
|
||||
mergeTemplateData(
|
||||
data,
|
||||
s.getWikiName(),
|
||||
s.getTheme(),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user