2023-11-24 14:27:23 -05:00
|
|
|
package middleware
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/flamego/template"
|
|
|
|
|
|
|
|
"git.metaunix.net/bitgoblin/blt/app"
|
|
|
|
)
|
|
|
|
|
|
|
|
func CustomVars(data template.Data) {
|
2024-05-29 11:04:31 -04:00
|
|
|
data["app_version"] = app.AppVersion
|
|
|
|
data["runtime_version"] = app.RuntimeVersion
|
2023-11-24 14:27:23 -05:00
|
|
|
}
|