hexo-theme-redefine icon indicating copy to clipboard operation
hexo-theme-redefine copied to clipboard

[功能建议]:添加artalk评论系统

Open fenychn0206 opened this issue 11 months ago • 0 comments

功能描述

添加 artalk 评论 #503

https://artalk.js.org

图片描述

image

优先级

中(较为重要)

补充信息

前端集成

<!-- CSS -->
<link href="http://artalk.example.com:8080/dist/Artalk.css" rel="stylesheet" />

<!-- JS -->
<script src="http://artalk.example.com:8080/dist/Artalk.js"></script>

<!-- Artalk -->
<div id="Comments"></div>
<script>
Artalk.init({
  el:        '#Comments',                       // 绑定元素的 Selector
  pageKey:   '/post/1',                         // 固定链接
  pageTitle: '关于引入 Artalk 的这档子事',         // 页面标题 (留空自动获取)
  server:    'http://artalk.example.com:8080',  // 后端地址
  site:      'Artalk 的博客',                    // 你的站点名
})
</script>

最初由 @ToothlessHaveBun 在 https://github.com/EvanNotFound/hexo-theme-redefine/issues/419 发布

fenychn0206 avatar Feb 14 '25 14:02 fenychn0206