소스 검색

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) {
 router.get('/', function(req, res) {
   res.render('index', {
   res.render('index', {
     title: 'Crafatar',
     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.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")
-    hr
-    small Site version 
-    a(href="https://github.com/Jake0oo0/crafatar/commit/#{commit}") #{commit}
+        .sideface.md_5(title="md_5")