mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-05 15:10:26 +00:00
提升 utterances 评论的 issue 可辨识度(使用文章 title)
(cherry picked from commit b676786cd2a5277db79ecc1d803ea8017a1a81be)
This commit is contained in:
@@ -22,7 +22,7 @@ const Utterances = ({ issueTerm, layout }) => {
|
|||||||
script.setAttribute('crossorigin', 'anonymous')
|
script.setAttribute('crossorigin', 'anonymous')
|
||||||
script.setAttribute('async', true)
|
script.setAttribute('async', true)
|
||||||
script.setAttribute('repo', BLOG.COMMENT_UTTERRANCES_REPO)
|
script.setAttribute('repo', BLOG.COMMENT_UTTERRANCES_REPO)
|
||||||
script.setAttribute('issue-term', issueTerm)
|
script.setAttribute('issue-term', 'title')
|
||||||
script.setAttribute('theme', theme)
|
script.setAttribute('theme', theme)
|
||||||
anchor.appendChild(script)
|
anchor.appendChild(script)
|
||||||
return () => {
|
return () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user