@@ -3,7 +3,7 @@ var router = express.Router();
/* GET home page. */
router.get('/', function(req, res) {
- res.render('index', { title: 'Crafatar', domain: "https://" + req.headers.host });
+ res.render('index', { title: 'Crafatar', domain: "https://" + req.headers.host, commit: process.env.COMMIT_HASH || "unknown" });
});
@@ -58,4 +58,7 @@ block content
.sideface.Jake0oo0(title="Jake0oo0")
.sideface.Notch(title="Notch")
.sideface.sk89q(title="sk89q")
- .sideface.md_5(title="md_5")
+ .sideface.md_5(title="md_5")
+ hr
+ small Site version
+ a(href="https://github.com/Jake0oo0/crafatar/commit/#{commit}") #{commit}