diff --git a/_config.yml b/_config.yml index 3f497b8..c65974c 100644 --- a/_config.yml +++ b/_config.yml @@ -75,13 +75,13 @@ theme_mode: dark # [light|dark] img_cdn: # the avatar on sidebar, support local or CORS resources -avatar: +avatar: assets/img/avatar.jpg # boolean type, the global switch for TOC in posts. toc: true comments: - active: # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable + active: "utterances" # The global switch for posts comments, e.g., 'disqus'. Keep it empty means disable # The active options are as follows: disqus: shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname @@ -89,8 +89,9 @@ comments: utterances: repo: "peter-tanner/peter-tanner.github.io" # / issue_term: "pathname" # < url | pathname | title | ...> - label: "utteranc.es" - theme: "github-dark" + label: "Comments" + theme: "preferred-color-scheme" + crossorigin: "anonymous" # Giscus options › https://giscus.app giscus: repo: # / diff --git a/assets/img/avatar.jpg b/assets/img/avatar.jpg new file mode 100644 index 0000000..080c908 Binary files /dev/null and b/assets/img/avatar.jpg differ