From b78b9ce8d46a1a5d73265a40a1ac3d9bf567db33 Mon Sep 17 00:00:00 2001 From: wwwatson Date: Wed, 13 Sep 2023 20:25:45 +0800 Subject: [PATCH] docs: update README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 6a70365..d8b5e5f 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,16 @@ disqusShortname = 'YOUR_DISQUS_SHORTNAME' # use disqus comments gravatarCdn = 'GRAVATAR_CDN_LINK' # e.g. 'https://cdn.v2ex.com/gravatar/' graphCommentId = "YOUR_GRAPH_COMMENT_ID" # use graph comment (disqus alternative) math = true # enable KaTeX math typesetting globally + + # giscus +[params.giscus] + repo = 'YOUR_GISCUS_REPO' # see https://giscus.app for more details + repoId = 'YOUR_GISCUS_REPO_ID' + category = 'YOUR__GISCUS_CATEGORY' + categoryId = 'YOUR_GISCUS_CATEGORY_ID' + mapping = 'pathname' + theme = 'light' + lang = 'zh-CN' ``` Available options to front matter: