Added templating, versioning, middleware, etc

This commit is contained in:
gballan committed 2023-11-24 14:27:23 -05:00
1 parent cd7003223a
commit 92d8e5fa09
11 files changed
+82 -2

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
package middleware
import (
"github.com/flamego/template"
"git.metaunix.net/bitgoblin/blt/app"
)
func CustomVars(data template.Data) {
data["app_version"] = app.Version
}