diff --git a/cmd/playground/main.go b/cmd/playground/main.go index a989b7f..246a667 100644 --- a/cmd/playground/main.go +++ b/cmd/playground/main.go @@ -17,6 +17,7 @@ func htmlTemplateTranslateFn(id string, data interface{}, count interface{}) str } func main() { + singleton.InitConfigFromPath("data/config.yaml") singleton.InitLocalizer() fmt.Println(singleton.Localizer.MustLocalize(&i18n.LocalizeConfig{ MessageID: "nezhaMonitor", diff --git a/resource/template/common/footer.html b/resource/template/common/footer.html index 4c6a8e8..b52fd65 100644 --- a/resource/template/common/footer.html +++ b/resource/template/common/footer.html @@ -2,7 +2,7 @@
diff --git a/resource/template/dashboard/setting.html b/resource/template/dashboard/setting.html index 3c5f157..77aa0b2 100644 --- a/resource/template/dashboard/setting.html +++ b/resource/template/dashboard/setting.html @@ -6,7 +6,7 @@