From fa50745a8df5aa615f20d26964e84173381f2542 Mon Sep 17 00:00:00 2001 From: Jannik Lorenz Date: Sat, 23 Apr 2016 01:15:52 +0200 Subject: Show Sign In button only when enabled --- public/views/index.ejs | 50 +++++++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 23 deletions(-) (limited to 'public') diff --git a/public/views/index.ejs b/public/views/index.ejs index 85d955b7..4b6ccab9 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -15,15 +15,15 @@ - <% if(useCDN) { %> + <% if(useCDN) { %> - - <% } else { %> - - - - <% } %> + + <% } else { %> + + + + <% } %> @@ -58,8 +58,10 @@
Realtime collaborative markdown notes on all platforms.
+ <% if(facebook || twitter || github || dropbox) { %> Sign In + <% }%> @@ -70,6 +72,7 @@