fix avatar and comments

This commit is contained in:
Peter 2023-08-05 14:35:42 +08:00
parent e2265bb451
commit a28151beba
2 changed files with 5 additions and 4 deletions

View File

@ -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" # <gh-username>/<repo>
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: # <gh-username>/<repo>

BIN
assets/img/avatar.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 MiB