diff --git a/googlemap.py b/googlemap.py index af56fbe..331a4ea 100644 --- a/googlemap.py +++ b/googlemap.py @@ -128,6 +128,7 @@ class MapGen(object): index = open(indexpath, 'r').read() index = index.replace( "{time}", str(strftime("%a, %d %b %Y %H:%M:%S +0000", gmtime()))) + index = index.replace("{version}", util.findGitVersion()) with open(os.path.join(self.destdir, "index.html"), 'w') as output: output.write(index) diff --git a/web_assets/index.html b/web_assets/index.html index 3798f17..7fa8e31 100644 --- a/web_assets/index.html +++ b/web_assets/index.html @@ -1,15 +1,22 @@
+ + + + + + +