diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 6ad23bf..5e18fbe 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -69,6 +69,21 @@ issueTerm = "pathname" server = "" placeholder = "" +# Giscus configuration +# Full doc's at https://giscus.app/ +[params.giscus] +enable = false # +data_repo="[ENTER REPO HERE]" +data_repo_id="[ENTER REPO ID HERE]" +data_category="[ENTER CATEGORY NAME HERE]" +data_category_id="[ENTER CATEGORY ID HERE]" +data_mapping="pathname" +data_reactions_enabled="1" +data_emit_metadata="0" +data_theme="light" +data-loading="lazy" +data_lang="en" +crossorigin="anonymous" # Params.social is an array containing your social network accounts, # Each has a lowercase name, a svg formatted icon and a url to the diff --git a/layouts/partials/giscus.html b/layouts/partials/giscus.html new file mode 100644 index 0000000..39bed50 --- /dev/null +++ b/layouts/partials/giscus.html @@ -0,0 +1,16 @@ +{{- if .Site.Params.giscus.enable -}} + + {{- end}} \ No newline at end of file