diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index ac67c62..425a142 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -93,6 +93,17 @@ params: path: lang: + giscus: + repo: + repoID: + category: + categoryID: + mapping: + lightTheme: + darkTheme: + reactionsEnabled: 1 + emitMetadata: 0 + widgets: enabled: - search @@ -143,8 +154,8 @@ menu: weight: -100 pre: home params: - ### For demonstration purpose, the home link will be open in a new tab - newTab: true + ### For demonstration purpose, the home link will be open in a new tab + newTab: true related: includeNewer: true diff --git a/layouts/partials/comments/provider/giscus.html b/layouts/partials/comments/provider/giscus.html new file mode 100644 index 0000000..f36ead9 --- /dev/null +++ b/layouts/partials/comments/provider/giscus.html @@ -0,0 +1,49 @@ +{{- with .Site.Params.comments.giscus -}} + + +{{- end -}} +