From 09a7bcbdef237c1443bbbfc29010e7106cffd739 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sat, 21 Jan 2017 13:08:29 +0800 Subject: Refactor templates and rearrange its path --- public/views/index/body.ejs | 175 ++++++++++++++++++++++++++++++++++++++++++ public/views/index/foot.ejs | 13 ++++ public/views/index/footer.ejs | 0 public/views/index/head.ejs | 22 ++++++ public/views/index/header.ejs | 0 5 files changed, 210 insertions(+) create mode 100644 public/views/index/body.ejs create mode 100644 public/views/index/foot.ejs create mode 100644 public/views/index/footer.ejs create mode 100644 public/views/index/head.ejs create mode 100644 public/views/index/header.ejs (limited to 'public/views/index') diff --git a/public/views/index/body.ejs b/public/views/index/body.ejs new file mode 100644 index 00000000..b8072450 --- /dev/null +++ b/public/views/index/body.ejs @@ -0,0 +1,175 @@ +
+ <%= __('Best way to write and share your knowledge in markdown.') %> +
+ <% if (infoMessage && infoMessage.length > 0) { %> +<%= __('Below is the history from browser') %>
++ © 2017 HackMD | <%= __('Releases') %> +
+ +