diff --git a/layout/common/article.jsx b/layout/common/article.jsx index 02e4d4c..bea3ca0 100644 --- a/layout/common/article.jsx +++ b/layout/common/article.jsx @@ -4,6 +4,7 @@ const { toMomentLocale } = require('hexo/lib/plugins/helper/date'); const Share = require('./share'); const Donates = require('./donates'); const Comment = require('./comment'); +const Related = require('./related'); const ArticleLicensing = require('hexo-component-inferno/lib/view/misc/article_licensing'); /** @@ -92,20 +93,25 @@ module.exports = class extends Component { {!index && article && article.licenses && Object.keys(article.licenses) ? : null} {/* Tags */} - {!index && page.tags && page.tags.length ?
- # - {page.tags.map(tag => { - return ; +
+
+ {page.tags && page.tags.length ? : null} {/* "Read more" button */} - {index && page.excerpt ? {__('article.more')} : null} + {index && page.excerpt ?   {__('article.more')} : null} +
{/* Share button */} {!index ? : null}
{/* Donate button */} - {!index ? : null} + {/* {!index ? : null} */} + {/* Related Post*/} + {!index ? :null} {/* Post navigation */} {!index && (page.prev || page.next) ?