File tree 2 files changed +2
-0
lines changed
2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change 12
12
script . setAttribute ( 'src' , 'https://utteranc.es/client.js' ) ;
13
13
script . setAttribute ( 'repo' , '{{ site.repository }}' ) ;
14
14
script . setAttribute ( 'issue-term' , '{{ site.comments.utterances.issue_term | default: "pathname" }}' ) ;
15
+ { % if site . comments . utterances . label % } script . setAttribute ( 'label' , '{{ site.comments.utterances.label }}' ) ; { % endif % }
15
16
script . setAttribute ( 'theme' , '{{ site.comments.utterances.theme | default: "github-light" }}' ) ;
16
17
script . setAttribute ( 'crossorigin' , 'anonymous' ) ;
17
18
Original file line number Diff line number Diff line change @@ -423,6 +423,7 @@ comments:
423
423
utterances:
424
424
theme: "github-light" # "github-dark"
425
425
issue_term: "pathname"
426
+ label: "comment" # Optional - must be existing label.
426
427
` ` `
427
428
428
429
# ### giscus comments
You can’t perform that action at this time.
0 commit comments