mirror of
https://github.com/azures04/crafatar.git
synced 2026-03-21 23:41:18 +01:00
show commit hash on site
This commit is contained in:
parent
be42030a0a
commit
b9848e6e1f
@ -3,7 +3,7 @@ var router = express.Router();
|
|||||||
|
|
||||||
/* GET home page. */
|
/* GET home page. */
|
||||||
router.get('/', function(req, res) {
|
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.Jake0oo0(title="Jake0oo0")
|
||||||
.sideface.Notch(title="Notch")
|
.sideface.Notch(title="Notch")
|
||||||
.sideface.sk89q(title="sk89q")
|
.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}
|
||||||
Loading…
x
Reference in New Issue
Block a user