add webmention

pull/1284/head
xiang578 2023-03-27 21:34:46 +08:00
parent 34222046b7
commit 84b057c052
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ const Share = require('./share');
const Donates = require('./donates'); const Donates = require('./donates');
const Comment = require('./comment'); const Comment = require('./comment');
const Related = require('./related'); const Related = require('./related');
const Webmention = require('../comment/webmention')
const ArticleLicensing = require('hexo-component-inferno/lib/view/misc/article_licensing'); const ArticleLicensing = require('hexo-component-inferno/lib/view/misc/article_licensing');
/** /**
@ -129,6 +130,8 @@ module.exports = class extends Component {
</nav> : null} </nav> : null}
{/* Comment */} {/* Comment */}
{!index ? <Comment config={config} page={page} helper={helper} /> : null} {!index ? <Comment config={config} page={page} helper={helper} /> : null}
{/* Webmention */}
{!index ? <Webmention config={config} page={page} helper={helper}/> :null}
</Fragment>; </Fragment>;
} }
}; };

0
scripts/webmention.js Normal file
View File