Commit Graph

5 Commits

Author SHA1 Message Date
Reorx 07c4add7be refactor toggleThemeCallbacks
- use object instead of array to ensure uniqueness for each callback
- do not use <script data-no-instant> to add callback, they won't be called if the page is not loaded first time;
  instead, try to set the callback each time the page is loaded
2022-06-01 17:15:04 +08:00
Reorx 0aa7a35ee0 add .comment-box class, comment system use id; remove unused comments_script.html 2022-06-01 16:55:45 +08:00
Reorx 5c47607d23 support specifying comment system in both config and front matter
in config: site.Params.defaultCommentSystems
in front matter: pageCommentSystems
2022-05-31 22:41:10 +08:00
Reorx bf8b09ed0e add telegram_widget.html 2022-05-27 23:41:24 +08:00
Reorx 28511efd08 control comment system in partials/comments.html 2022-05-27 21:33:40 +08:00