mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
chore: display database type
This commit is contained in:
parent
4336d732c9
commit
c78ee5465c
@ -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)
|
||||
},
|
||||
|
@ -1,6 +1,6 @@
|
||||
<footer class="flex justify-between w-full text-center text-gray-500 text-xs mt-12">
|
||||
<div class="text-xs font-mono">
|
||||
v{{ getVersion }}
|
||||
v{{ getVersion }} @ {{ getDbType }}
|
||||
</div>
|
||||
<div>
|
||||
Made with 🤍 by <a href="https://muetsch.io" class="border-b border-green-700">Ferdinand Mütsch</a> as <a
|
||||
|
Loading…
Reference in New Issue
Block a user