docs: 更新文档并添加项目图标

添加项目图标到README和文档首页
重构前端配置文档,移除冗余内容
新增管理后台部署指南文档
修改默认postSlug为完整URL路径
This commit is contained in:
anghunk
2026-01-20 10:07:30 +08:00
parent 9b90f589d5
commit 1c0c4b5657
6 changed files with 86 additions and 185 deletions

View File

@@ -11,8 +11,8 @@ const STORAGE_KEY = 'cwd-dev-config';
const DEFAULT_CONFIG = {
el: '#comments',
apiBaseUrl: 'http://localhost:8788',
postSlug: window.location.pathname,
theme: 'light',
postSlug: window.location.origin + window.location.pathname,
theme: 'light', // 默认 light / dark
};
let widgetInstance = null;