You forgot to set the owner, admin, repo,
- clientId, or clientSecret for Gittalk.
+ client_id, or client_secret for Gitalk.
Please set it in _config.yml.
;
}
diff --git a/layout/common/article.jsx b/layout/common/article.jsx
index e8984b2..958f1b4 100644
--- a/layout/common/article.jsx
+++ b/layout/common/article.jsx
@@ -43,7 +43,7 @@ module.exports = class extends Component {
{(() => {
const categories = [];
page.categories.forEach((category, i) => {
- categories.push({category.name});
+ categories.push({category.name});
if (i < page.categories.length - 1) {
categories.push( / );
}
diff --git a/scripts/index.js b/scripts/index.js
index 3e1ac5b..022fd50 100644
--- a/scripts/index.js
+++ b/scripts/index.js
@@ -121,6 +121,7 @@ require('../include/generator/insight')(hexo);
require('../include/filter/locals')(hexo);
require('../include/helper/cdn')(hexo);
require('../include/helper/page')(hexo);
+require('../include/helper/thumbnail')(hexo);
/**
* Remove Hexo filters that could cause OOM