hexo-next-mastodon-comments-core
v1.1.0
Published
Mastodon Comments system for NexT.
Maintainers
Readme
Hexo NexT Mastodon Comments
Mastodon Comments system for NexT.
Install
npm install hexo-next-mastodon-comments-coreConfigure
Set the value enable to true, add the Mastodon instance domain (MASTODON_DOMAIN), and add the Mastodon instance username (MASTODON_USER). You can config those in both hexo or theme _config.yml:
# Mastodon Comments
# For more information: https://github.com/feiju12138/mastodon-comments https://github.com/feiju12138/hexo-next-mastodon-comments
mastodon-comments:
enable: false
MASTODON_DOMAIN: mastodon.social # Mastodon 实例域名
MASTODON_USER: feiju # Mastodon 实例中根评论发布的用户名
# JS: https://cdn.jsdelivr.net/gh/feiju12138/mastodon-comments@3/dist/mastodon-comments.min.js # 自定义 JS 文件地址Add toot-id in post header
⚠️ Use quotes for toot-id to avoid JS precision loss.
---
toot-id: "116164221651686918"
---You can also use feiju12138/hexo-next-mastodon-comments-helper to auto add toot-id in post header.
