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/pretty.ejs | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
(limited to 'public/views/pretty.ejs')
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index ced65ed8..de5b8ad3 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -23,12 +23,12 @@
- <%- include build/pretty-header %>
+ <%- include ../build/pretty-header %>
<% } else { %>
- <%- include build/pretty-pack-header %>
+ <%- include ../build/pretty-pack-header %>
<% } %>
- <%- include polyfill %>
+ <%- include ../shared/polyfill %>
@@ -66,7 +66,7 @@
<% if(typeof disqus !== 'undefined' && disqus) { %>
- <%- include disqus %>
+ <%- include ../shared/disqus %>
<% } %>
@@ -90,10 +90,10 @@
-<%- include build/pretty-scripts %>
+<%- include ../build/pretty-scripts %>
<% } else { %>
-<%- include build/pretty-pack-scripts %>
+<%- include ../build/pretty-pack-scripts %>
<% } %>
-<%- include ga %>
+<%- include ../shared/ga %>
--
cgit v1.2.3
From a669c201beb3755703e87984268cbd08145e9ac6 Mon Sep 17 00:00:00 2001
From: Wu Cheng-Han
Date: Sat, 21 Jan 2017 13:40:08 +0800
Subject: Fix template partial path
---
public/views/pretty.ejs | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
(limited to 'public/views/pretty.ejs')
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index de5b8ad3..a6913f6c 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -23,12 +23,12 @@
- <%- include ../build/pretty-header %>
+ <%- include build/pretty-header %>
<% } else { %>
- <%- include ../build/pretty-pack-header %>
+ <%- include build/pretty-pack-header %>
<% } %>
- <%- include ../shared/polyfill %>
+ <%- include shared/polyfill %>
@@ -66,7 +66,7 @@
<% if(typeof disqus !== 'undefined' && disqus) { %>
- <%- include ../shared/disqus %>
+ <%- include shared/disqus %>
<% } %>
@@ -90,10 +90,10 @@
-<%- include ../build/pretty-scripts %>
+<%- include build/pretty-scripts %>
<% } else { %>
-<%- include ../build/pretty-pack-scripts %>
+<%- include build/pretty-pack-scripts %>
<% } %>
-<%- include ../shared/ga %>
+<%- include shared/ga %>
--
cgit v1.2.3