基本信息
服务地址:https://artalk.alnkr.cn版本:v2.9.1
引用文件地址
引用文件地址1:https://artalk.alnkr.cn/dist/Artalk.css
https://artalk.alnkr.cn/dist/Artalk.js
引用文件地址2(推荐):
https://npm.webcache.cn/artalk@2.9.1/dist/Artalk.css
https://npm.webcache.cn/artalk@2.9.1/dist/Artalk.js
集成客户端
<!-- CSS -->
<link href="http://artalk.alnkr.cn/dist/Artalk.css" rel="stylesheet" />
<!-- JS -->
<script src="http://artalk.alnkr.cn/dist/Artalk.js"></script>
<!-- Artalk -->
<div id="Comments"></div>
<script>
Artalk.init({
el: '#Comments', // 绑定元素的 Selector
pageKey: '/post/1', // 固定链接
pageTitle: '关于引入 Artalk 的这档子事', // 页面标题 (留空自动获取)
server: 'http://artalk.alnkr.cn', // 后端地址
site: 'Artalk 的博客', // 你的站点名
})
</script>