diff --git a/_config.template.yml b/_config.template.yml index 5395176cf..51cc2e093 100644 --- a/_config.template.yml +++ b/_config.template.yml @@ -269,6 +269,9 @@ comment: wildfire_firebase_messaging_sender_id: wildfire_theme: light # light or dark wildfire_locale: en # en or zh-CN + utterances_repo: # your github repo + utterances_issue_term: title # how utterances create issue title + utterances_theme: github-light # utterance style # Search Systems # Available value: diff --git a/layout/_widget/comment/utterances/common.ejs b/layout/_widget/comment/utterances/common.ejs new file mode 100644 index 000000000..e69de29bb diff --git a/layout/_widget/comment/utterances/enter.ejs b/layout/_widget/comment/utterances/enter.ejs new file mode 100644 index 000000000..50ba14126 --- /dev/null +++ b/layout/_widget/comment/utterances/enter.ejs @@ -0,0 +1,4 @@ + +
+ <%- partial('_widget/comment/' + theme.comment.use + '/main') %> +
\ No newline at end of file diff --git a/layout/_widget/comment/utterances/main.ejs b/layout/_widget/comment/utterances/main.ejs new file mode 100644 index 000000000..8c626014a --- /dev/null +++ b/layout/_widget/comment/utterances/main.ejs @@ -0,0 +1,8 @@ + \ No newline at end of file