ソースを参照

remove link to latest commit, wasn't working as expected

jomo 10 年 前
コミット
9b3884d85a
2 ファイル変更2 行追加7 行削除
  1. 1 3
      routes/index.js
  2. 1 4
      views/index.jade

+ 1 - 3
routes/index.js

@@ -5,9 +5,7 @@ var router = express.Router();
 router.get('/', function(req, res) {
   res.render('index', {
     title: 'Crafatar',
-    domain: "https://" + req.headers.host,
-    // see http://stackoverflow.com/a/14924922/2517068
-    commit: process.env.HEAD_HASH || "unknown"
+    domain: "https://" + req.headers.host
   });
 });
 

+ 1 - 4
views/index.jade

@@ -58,7 +58,4 @@ block content
         .sideface.Jake0oo0(title="Jake0oo0")
         .sideface.Notch(title="Notch")
         .sideface.sk89q(title="sk89q")
-        .sideface.md_5(title="md_5")
-    hr
-    small Site version 
-    a(href="https://github.com/Jake0oo0/crafatar/commit/#{commit}") #{commit}
+        .sideface.md_5(title="md_5")