From b8b94f4d6c16d23dd321420aa1f3849975a7a575 Mon Sep 17 00:00:00 2001 From: Dan Janosik Date: Fri, 13 Apr 2018 18:02:06 -0400 Subject: [PATCH] hide github fork banner by default --- app/env.js | 1 + views/layout.pug | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/env.js b/app/env.js index 930d4d1..74e0d1c 100644 --- a/app/env.js +++ b/app/env.js @@ -1,6 +1,7 @@ module.exports = { cookiePassword: "0x000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f", debug: false, + showForkBanner: false, rpcBlacklist:[ "stop" diff --git a/views/layout.pug b/views/layout.pug index 6214a20..1d2679a 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -83,7 +83,7 @@ html li © 2018 a(href="https://danjanosik.com") Dan Janosik - + if (env.showForkBanner) div(class="d-none d-md-block") a(href="https://github.com/janoside/btc-rpc-explorer") img(style="position: absolute; top: 0; left: 0; border: 0;", src="https://camo.githubusercontent.com/82b228a3648bf44fc1163ef44c62fcc60081495e/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f7265645f6161303030302e706e67", alt="Fork me on GitHub", data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png")