hexo-theme-amane/layout/page.jsx

11 lines
295 B
JavaScript

const { Component } = require('inferno');
const Article = require('./common/article');
module.exports = class extends Component {
render() {
const { config, page, helper } = this.props;
return <Article config={config} page={page} helper={helper} index={false} />;
}
};