diff --git a/layout/common/post/banner.ejs b/layout/common/post/banner.ejs index 3be8149..1e921aa 100644 --- a/layout/common/post/banner.ejs +++ b/layout/common/post/banner.ejs @@ -1,14 +1,14 @@ <% if (post.link) { %> <% } else if (post.title) { %> <% if (index) { %> <% } else { %> - + <% } %> <% } %> diff --git a/layout/common/thumbnail.ejs b/layout/common/thumbnail.ejs index c59d44b..e9c2d24 100644 --- a/layout/common/thumbnail.ejs +++ b/layout/common/thumbnail.ejs @@ -1,7 +1,8 @@ - <% var thumbnailUrl = thumbnail(post) %> - <% if (thumbnailUrl) { %> - + <% if (post.thumbnail) { %> + + <% } else if (post.banner) { %> + <% } else { %> <% } %>