impl. Kroki, compile path, and code-editor feature
This commit is contained in:
1 parent
c1bc8f0c03
commit
94d56f9a8f
49 files changed
+40652
-389
No files matched your search
@@ -8,11 +8,13 @@ func mergeTemplateData(
|
||||
data any,
|
||||
wikiName string,
|
||||
theme string,
|
||||
sThemeCSS string,
|
||||
) map[string]any {
|
||||
|
||||
out := map[string]any{
|
||||
"WikiName": wikiName,
|
||||
"Theme": theme,
|
||||
"ThemeCSS": sThemeCSS,
|
||||
}
|
||||
|
||||
if data == nil {
|
||||
@@ -46,6 +48,7 @@ func (s *Server) render(
|
||||
data,
|
||||
s.getWikiName(),
|
||||
s.getTheme(),
|
||||
s.getThemeCSS(),
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user