2019-12-23 22:11:22 +00:00
|
|
|
const { Component, Fragment } = require('inferno');
|
|
|
|
const Index = require('./index');
|
|
|
|
|
|
|
|
module.exports = class extends Component {
|
|
|
|
render() {
|
2019-12-24 05:36:39 +00:00
|
|
|
const { config, page, helper } = this.props;
|
2019-12-23 22:11:22 +00:00
|
|
|
const { url_for, _p } = helper;
|
|
|
|
|
|
|
|
return <Fragment>
|
2019-12-24 05:36:39 +00:00
|
|
|
<div class="card">
|
|
|
|
<div class="card-content">
|
|
|
|
<nav class="breadcrumb" aria-label="breadcrumbs">
|
2019-12-23 22:11:22 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href={url_for('/tags')}>{_p('common.tag', Infinity)}</a></li>
|
2019-12-24 05:36:39 +00:00
|
|
|
<li class="is-active"><a href="#" aria-current="page">{page.tag}</a></li>
|
2019-12-23 22:11:22 +00:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-12-24 05:36:39 +00:00
|
|
|
<Index config={config} page={page} helper={helper} />
|
2019-12-23 22:11:22 +00:00
|
|
|
</Fragment>;
|
|
|
|
}
|
2019-12-24 05:36:39 +00:00
|
|
|
};
|