From 5cef1dd305fd3d1ccf0b580ceea8dc00a4a66956 Mon Sep 17 00:00:00 2001 From: ines Date: Thu, 1 Jun 2017 12:47:30 +0200 Subject: [PATCH] Always use develop branch of GitHub links in ALPHA mode --- website/_includes/_functions.jade | 1 + 1 file changed, 1 insertion(+) diff --git a/website/_includes/_functions.jade b/website/_includes/_functions.jade index 754ae1a4f..0f435be54 100644 --- a/website/_includes/_functions.jade +++ b/website/_includes/_functions.jade @@ -19,5 +19,6 @@ //- Generate GitHub links - function gh(repo, filepath, branch) { +- var branch = ALPHA ? 'develop' : branch - return 'https://github.com/' + SOCIAL.github + '/' + repo + (filepath ? '/blob/' + (branch || 'master') + '/' + filepath : '' ); - }