add artalk.js
This commit is contained in:
17
Test/Docker/artalk.js/index.html
Normal file
17
Test/Docker/artalk.js/index.html
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- CSS -->
|
||||
<link href="http://127.0.0.1:23333/dist/Artalk.css" rel="stylesheet">
|
||||
|
||||
<!-- JS -->
|
||||
<script src="http://127.0.0.1:23333/dist/Artalk.js"></script>
|
||||
|
||||
<!-- Artalk -->
|
||||
<div id="Comments"></div>
|
||||
<script>
|
||||
new Artalk({
|
||||
el: '#Comments', // 绑定元素的 Selector
|
||||
pageKey: 'index.html', // 固定链接 (留空自动获取)
|
||||
pageTitle: '关于引入 Artalk 这档子事', // 页面标题 (留空自动获取)
|
||||
server: 'http://127.0.0.1:23333', // 后端地址
|
||||
site: '默认站点', // 你的站点名
|
||||
})
|
||||
</script>
|
||||
Reference in New Issue
Block a user