diff --git a/routes/routes.go b/routes/routes.go index f94333a..e057d29 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -30,6 +30,9 @@ func loadTemplates() { "getVersion": func() string { return config.Get().Version }, + "getDbType": func() string { + return strings.ToLower(config.Get().Db.Dialect) + }, "htmlSafe": func(html string) template.HTML { return template.HTML(html) }, diff --git a/views/footer.tpl.html b/views/footer.tpl.html index 8a71992..e0e7adb 100644 --- a/views/footer.tpl.html +++ b/views/footer.tpl.html @@ -1,6 +1,6 @@