diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 9715a05..29429f3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -44,6 +44,11 @@ posts_navigation = true # githubRepo = "githubUsername/repositoryName/tree/master" small_banner_logo = false +[params.utteranc] +enable = true +repo = "mtn/cocoa-eh-hugo-theme" +issueTerm = "title" + [params.colors] identifier = "#527fc1f" identifier_dark = "#1a3152" diff --git a/layouts/partials/blog_single.html b/layouts/partials/blog_single.html index 865d8a0..a2ca07f 100644 --- a/layouts/partials/blog_single.html +++ b/layouts/partials/blog_single.html @@ -91,6 +91,19 @@ {{ end }} + + {{ if .Site.Params.utteranc.enable }} +
+ +
+ {{ end }} + {{ if .Site.Params.issoHost }}