diff --git a/layout/_partial/post.ejs b/layout/_partial/post.ejs index 1f67d84..58503ed 100644 --- a/layout/_partial/post.ejs +++ b/layout/_partial/post.ejs @@ -26,25 +26,29 @@
<% } %> - <%- partial('post/copyright')%> - -
- <% if ((post.tags) && (post.tags.length > 0)) { %> -
- <%= __('post.tagged_in') %>
- <%- partial('post/tag', {tags: post.tags})%> -
- <% } %> - <% if (post.actions === undefined || post.actions) { %> - <%- partial('post/actions', {postContent: postContent}) %> - <% } %> - <% if (post.comments) { %> - <% if (theme.disqus_shortname) { %> - <%- partial('post/disqus') %> - <% } else if (theme.gitment.enable) { %> - <%- partial('post/gitment') %> - <% } %> + <% if (is_post()) { %> + <%- partial('post/copyright')%> <% } %>
+ <% if (is_post()) { %> +
+ <% if ((post.tags) && (post.tags.length > 0)) { %> +
+ <%= __('post.tagged_in') %>
+ <%- partial('post/tag', {tags: post.tags})%> +
+ <% } %> + <% if (post.actions === undefined || post.actions) { %> + <%- partial('post/actions', {postContent: postContent}) %> + <% } %> + <% if (post.comments) { %> + <% if (theme.disqus_shortname) { %> + <%- partial('post/disqus') %> + <% } else if (theme.gitment.enable) { %> + <%- partial('post/gitment') %> + <% } %> + <% } %> +
+ <% } %> diff --git a/layout/_partial/search.ejs b/layout/_partial/search.ejs index 65958a6..0a241b4 100644 --- a/layout/_partial/search.ejs +++ b/layout/_partial/search.ejs @@ -22,13 +22,13 @@
<% if (post.thumbnailImageUrl) { %>
- +
<% } %>
- +

<%= post.title %>

diff --git a/source/_js/search-tools.js b/source/_js/search-tools.js index 5c23e7d..4422bba 100755 --- a/source/_js/search-tools.js +++ b/source/_js/search-tools.js @@ -198,7 +198,7 @@ var html = ''; posts.forEach(function(post) { html += '