diff options
Diffstat (limited to 'themes/hexo-theme-freemind.bithack/layout/_partial/post/tag.ejs')
m--------- | themes/hexo-theme-freemind.bithack | 0 | ||||
-rw-r--r-- | themes/hexo-theme-freemind.bithack/layout/_partial/post/tag.ejs | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/themes/hexo-theme-freemind.bithack b/themes/hexo-theme-freemind.bithack deleted file mode 160000 -Subproject db335ebdc14507c7687084da084a56eb3d003f1 diff --git a/themes/hexo-theme-freemind.bithack/layout/_partial/post/tag.ejs b/themes/hexo-theme-freemind.bithack/layout/_partial/post/tag.ejs new file mode 100644 index 0000000..8ed2903 --- /dev/null +++ b/themes/hexo-theme-freemind.bithack/layout/_partial/post/tag.ejs @@ -0,0 +1,7 @@ + <%
+ var tags = [];
+ item.tags.forEach(function(tag){
+ tags.push('<li><a href="' + config.root + tag.path + '">' + tag.name + '<span>' + tag.length + '</span></a></li>');
+ });
+ %>
+ <%- tags.join(' ') %>
\ No newline at end of file |