diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index a1470d3..7c8f3d3 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -52,4 +52,4 @@ -<% } %> \ No newline at end of file +<% } %> diff --git a/layout/_partial/post/date.ejs b/layout/_partial/post/date.ejs index e3f5fd8..f0ead26 100644 --- a/layout/_partial/post/date.ejs +++ b/layout/_partial/post/date.ejs @@ -1,6 +1,8 @@ -
- - - - -
\ No newline at end of file +<% if (post.date && !post.hidedate){ %> +
+ + + + +
+<% } %>