diff --git a/_config.yml b/_config.yml index 7f23533..09b4a8f 100755 --- a/_config.yml +++ b/_config.yml @@ -171,7 +171,7 @@ sidebar: url: blog/categories/ rel: nofollow - widget: tagcloud - icon: fas fa-fire + icon: fas fa-tags more: icon: fas fa-expand-arrows-alt url: blog/tags/ diff --git a/layout/_meta/tags.ejs b/layout/_meta/tags.ejs index 31a6a91..b219bbe 100644 --- a/layout/_meta/tags.ejs +++ b/layout/_meta/tags.ejs @@ -2,7 +2,7 @@ <% var items = []; post.tags.each(function(item){ - items.push('
 

' + item.name + '

'); + items.push('

' + item.name + '

'); }); %> <%- items.join(' ') %> diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index ae9ed3d..8b0218c 100755 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -8,6 +8,7 @@ <%- post.content %> <% if(post.layout == 'post'){ %> +
<%- partial('meta', {post: post, position: 'footer'}) %> <% } %> <% if(post.prev || post.next){ %> @@ -29,7 +30,7 @@ <% var items = []; post.prev.tags.each(function(item){ - items.push('' + item.name + ''); + items.push(' ' + item.name + ''); }); %>
@@ -56,7 +57,7 @@ <% var items = []; post.next.tags.each(function(item){ - items.push('' + item.name + ''); + items.push(' ' + item.name + ''); }); %>
diff --git a/layout/_partial/meta.ejs b/layout/_partial/meta.ejs index c9c1dcc..3f2ea21 100644 --- a/layout/_partial/meta.ejs +++ b/layout/_partial/meta.ejs @@ -50,7 +50,7 @@ if (post.meta && (post.meta.footer !== undefined && post.meta.footer !== null)) <% } else if (position == 'footer') { %>
<%} %>
<% (group.items||[]).forEach(function(item){ %> @@ -38,7 +39,7 @@ <%} %> <% }) %> <% } %> -

+

<%- page.content %> diff --git a/layout/tag.ejs b/layout/tag.ejs index 7c62c10..f928c1a 100755 --- a/layout/tag.ejs +++ b/layout/tag.ejs @@ -15,7 +15,7 @@ <% site.tags.sort('path').each(function(tags){ %> <% if (tags.posts.length){ %> - + (<%- tags.posts.length %>)