From a73d9ce39e2107b2a9628003f05900d4a641bee5 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Fri, 2 Dec 2016 01:58:14 +0800 Subject: Update to support optional email register and signin --- public/views/index.ejs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'public/views/index.ejs') diff --git a/public/views/index.ejs b/public/views/index.ejs index 729987ca..789565af 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -51,6 +51,12 @@

<%= __('Best way to write and share your knowledge in markdown.') %>

+ <% if (infoMessage && infoMessage.length > 0) { %> +
<%= infoMessage %>
+ <% } %> + <% if (errorMessage && errorMessage.length > 0) { %> +
<%= errorMessage %>
+ <% } %> <% if(facebook || twitter || github || gitlab || dropbox || google) { %>
@@ -195,6 +201,7 @@ + <%- include build/cover-scripts %> <% } else { %> <%- include build/cover-pack-scripts %> -- cgit v1.2.3