diff --git a/src/hexo/themes/lime/layout/_ksio/layouts/default.ejs b/src/hexo/themes/lime/layout/_ksio/layouts/default.ejs new file mode 100644 index 0000000..2d1fa56 --- /dev/null +++ b/src/hexo/themes/lime/layout/_ksio/layouts/default.ejs @@ -0,0 +1,10 @@ + + + + <%- partial('_ksio/partials/head') %> + <%- css('stylesheets/global') %> + <%- js('javascripts/ksio/vendors/jquery-1.11.3.min') %> + <%- js('javascripts/ksio/vendors/bootstrap.min') %> + + <%- body %> + diff --git a/src/hexo/themes/lime/layout/_ksio/layouts/page.ejs b/src/hexo/themes/lime/layout/_ksio/layouts/page.ejs new file mode 100644 index 0000000..b85539a --- /dev/null +++ b/src/hexo/themes/lime/layout/_ksio/layouts/page.ejs @@ -0,0 +1,54 @@ +<%- partial(theme.header && theme.header.partial || '_ksio/partials/header') %> +
+ <% if (page.banner) { %> + + + <% } %> + +
+
+
+

<%= page.title %>

+
+
<%- page.content %>
+ <% if (page.siblings === true) { %> + + + <% } %> + <% if (page.comments === true) { %> + +
+ <% } %> +
+
+
+<%- partial(theme.footer && theme.footer.partial || '_ksio/partials/footer') %> diff --git a/src/hexo/themes/lime/layout/layout.ejs b/src/hexo/themes/lime/layout/layout.ejs index b194959..2db445c 100644 --- a/src/hexo/themes/lime/layout/layout.ejs +++ b/src/hexo/themes/lime/layout/layout.ejs @@ -1,13 +1 @@ - - - - <%- partial('_ksio/partials/head') %> - <%- css('stylesheets/global') %> - <% if (page.__index) { %> - - <% } %> - <%- js('javascripts/ksio/vendors/jquery-1.11.3.min') %> - <%- js('javascripts/ksio/vendors/bootstrap.min') %> - - <%- body %> - +<%- partial('_ksio/layouts/default') %> diff --git a/src/hexo/themes/lime/layout/page.ejs b/src/hexo/themes/lime/layout/page.ejs new file mode 100644 index 0000000..43687fc --- /dev/null +++ b/src/hexo/themes/lime/layout/page.ejs @@ -0,0 +1 @@ +<%- partial('_ksio/layouts/page') %> diff --git a/src/hexo/themes/lime/layout/post.ejs b/src/hexo/themes/lime/layout/post.ejs new file mode 100644 index 0000000..43687fc --- /dev/null +++ b/src/hexo/themes/lime/layout/post.ejs @@ -0,0 +1 @@ +<%- partial('_ksio/layouts/page') %>