Add FM version to interface; close #221

This commit is contained in:
Henrique Dias
2017-09-03 10:50:49 +01:00
parent 011d5aee46
commit 59bd6e97bf
7 changed files with 10 additions and 2349 deletions
+1
View File
@@ -228,6 +228,7 @@ func renderFile(c *fm.Context, w http.ResponseWriter, file string) (int, error)
data := map[string]interface{}{
"BaseURL": c.RootURL(),
"NoAuth": c.NoAuth,
"Version": fm.Version,
}
if c.StaticGen != nil {