Comparing version 0.0.2 to 0.0.3
18
index.js
@@ -7,10 +7,12 @@ var steem = require('steem'); | ||
var tags = JSON.parse(result[i].json_metadata).tags | ||
hexo.post.create({ | ||
title: result[i].title, | ||
_content: result[i].body, | ||
slug: result[i].permlink, | ||
date: result[i].created, | ||
tags: tags, | ||
author: result[i].author | ||
}, true) | ||
if (result[i].author == username || hexo.config.steem_resteems) { | ||
hexo.post.create({ | ||
title: result[i].title, | ||
content: result[i].body, | ||
slug: result[i].permlink, | ||
date: result[i].created, | ||
tags: tags, | ||
author: result[i].author | ||
}, true) | ||
} | ||
} | ||
@@ -17,0 +19,0 @@ }); |
{ | ||
"name": "hexo-steem", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "add your steem articles on your hexo blog", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1476
25