const { Component, Fragment } = require('inferno'); const Paginator = require('hexo-component-inferno/lib/view/misc/paginator'); const Article = require('./common/article'); module.exports = class extends Component { render() { const { config, page, helper } = this.props; const { __, url_for } = helper; return {page.posts.map(post =>
)} {page.total > 1 ? : null} ; } };