From 8f0069d3dd06dd1c1d8c62e8eb09e192d18d3da4 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 5 Dec 2021 23:07:17 -0600 Subject: [PATCH] add utterances options as hugo params --- config/_default/params.toml | 5 +++++ layouts/partials/comments.html | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/config/_default/params.toml b/config/_default/params.toml index 145afb0..d0ddb12 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -107,3 +107,8 @@ enable = false # To enable matomo analytics change to `true`. websiteDomain = "example.com" # Set the domain name of your website, in most cases same as your base URL this is required. matomoDomain = "matomo.example.com" # Set to Matomo domain matomoSiteID = "1" # Default is set to 1, change this to the siteid being tracked + +[utterances] + repo="jbowdre/jbowdre.github.io" # owner/repo where github comments will happen + issueterm="title" # how will the issues be mapped to the articles + theme="icy-dark" # theme to be applied to comments box diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index bd99c72..66e06a5 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -2,9 +2,9 @@ {{ template "_internal/disqus.html" . }}