diff --git a/exampleSite/config/_default/params.yaml b/exampleSite/config/_default/params.yaml index 36f9027b..9047bdc7 100644 --- a/exampleSite/config/_default/params.yaml +++ b/exampleSite/config/_default/params.yaml @@ -28,3 +28,21 @@ socialNavbar: true # show social icons on navbar socialHomePage: true # show social icons on the home page colorTheme: blue # choose a theme from `data/themes` folder + +giscusScript: > + diff --git a/layouts/partials/scripts/giscus.html b/layouts/partials/scripts/giscus.html new file mode 100644 index 00000000..8eb9cf30 --- /dev/null +++ b/layouts/partials/scripts/giscus.html @@ -0,0 +1,19 @@ +{{ safeHTML .Site.Params.giscusScript }} + + + + diff --git a/layouts/partials/scripts/theme.html b/layouts/partials/scripts/theme.html index 7987cc63..a11b0215 100644 --- a/layouts/partials/scripts/theme.html +++ b/layouts/partials/scripts/theme.html @@ -1,7 +1,8 @@