diff --git a/README_ZH.md b/README_ZH.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/layout/_index/list.ejs b/layout/_index/list.ejs new file mode 100644 index 000000000..0b28118e1 --- /dev/null +++ b/layout/_index/list.ejs @@ -0,0 +1,23 @@ +<% page.posts.each(function (page) { %> +
+ + <% if (page.cover){ %> +
+ <%= page.title %> +

<%= page.title %>

+
+ <%} else{ %> +
+ <%= page.title %> +

<%= page.title %>

+
+ <% } %> +
+ + <%- partial('_partial/_post/meta', {page: page}) %> + +
+ <%- page.excerpt %> +
+
+<% }) %> \ No newline at end of file diff --git a/layout/_layout/single/content.ejs b/layout/_layout/single/content.ejs new file mode 100644 index 000000000..075dd0ce7 --- /dev/null +++ b/layout/_layout/single/content.ejs @@ -0,0 +1,3 @@ +
+ <%- body %> +
\ No newline at end of file diff --git a/layout/_partial/header.ejs b/layout/_layout/single/header.ejs similarity index 87% rename from layout/_partial/header.ejs rename to layout/_layout/single/header.ejs index e2dc79077..1c2291593 100644 --- a/layout/_partial/header.ejs +++ b/layout/_layout/single/header.ejs @@ -19,7 +19,12 @@ <% } %> - <%- partial('_partial/sidebar') %> +