chore: remove invalid file

This commit is contained in:
ppoffice 2016-03-18 13:07:11 +08:00
parent b9adec4de5
commit 83afb0e4d2
1 changed files with 0 additions and 15 deletions

View File

@ -1,15 +0,0 @@
/**
* Excerpt Helper
* @description Get the excerpt from a post
* @example
* <%- excerpt(post) %>
*/
hexo.extend.helper.register('excerpt', function (post) {
var excerpt;
if (post.excerpt) {
excerpt = post.excerpt.replace(/\<[^\>]+\>/g, '');
} else {
excerpt = post.content.replace(/\<[^\>]+\>/g, '').substring(0, 200);
}
return excerpt;
});