diff --git a/lib/looseleaf.js b/lib/looseleaf.js
index <HASH>..<HASH> 100644
--- a/lib/looseleaf.js
+++ b/lib/looseleaf.js
@@ -102,7 +102,7 @@ module.exports.init = function(siteDir) {
       return conf.sidebar;
     },
     version: function(req, res) {
-      return conf.version;
+      return VERSION;
     },
     blog: function(req, res) {
       return blog;
fixed version undefined bug in footer.ejs