diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 4e60475c..3fdc46fe 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -40,6 +40,13 @@ enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/func footerCopyright = ' · CC BY-NC 4.0' # bgImg = "" # Homepage background-image URL + # Comments using https://utteranc.es + # [params.utterances] + # repo = "repo/path" + # theme = "github-dark" + # issueTerm = "pathname" + # label="comments" + # Prefix of link to the git commit detail page. GitInfo must be enabled. # gitUrl = "https://github.com/username/repository/commit/" diff --git a/layouts/partials/comments.html b/layouts/partials/comments.html index b17632a3..a1463802 100644 --- a/layouts/partials/comments.html +++ b/layouts/partials/comments.html @@ -1,3 +1,13 @@ {{- if .Site.DisqusShortname }} {{ template "_internal/disqus.html" . }} {{- end }} + +{{ if .Site.Params.utterances }} + +{{ end }} \ No newline at end of file diff --git a/theme.toml b/theme.toml index 843956ca..d529932d 100644 --- a/theme.toml +++ b/theme.toml @@ -9,7 +9,8 @@ features = [ "featured image", "social icons", "google analytics", - "disqus" + "disqus", + "utterances" ] min_version = 0.43