version.go, footer.html: display version
Closes https://gitlab.com/commento/commento/issues/122
This commit is contained in:
@@ -36,6 +36,7 @@ func fileDetemplate(f string) ([]byte, error) {
|
||||
x = strings.Replace(x, "[[[.Origin]]]", os.Getenv("ORIGIN"), -1)
|
||||
x = strings.Replace(x, "[[[.CdnPrefix]]]", os.Getenv("CDN_PREFIX"), -1)
|
||||
x = strings.Replace(x, "[[[.Footer]]]", footer, -1)
|
||||
x = strings.Replace(x, "[[[.Version]]]", version, -1)
|
||||
|
||||
return []byte(x), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user