diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index ac67c62..a1115b1 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -93,6 +93,15 @@ params: path: lang: + giscus: + repo: + repoID: + category: + categoryID: + mapping: + lightTheme: + darkTheme: + widgets: enabled: - search @@ -159,7 +168,7 @@ related: markup: tableOfContents: - endLevel: 4 + endLevel: 0 ordered: true startLevel: 2 highlight: diff --git a/layouts/partials/comments/provider/giscus.html b/layouts/partials/comments/provider/giscus.html new file mode 100644 index 0000000..fce175f --- /dev/null +++ b/layouts/partials/comments/provider/giscus.html @@ -0,0 +1,35 @@ +{{- with .Site.Params.comments.giscus -}} + + +{{- end -}} \ No newline at end of file