diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..e8c5515 Binary files /dev/null and b/.DS_Store differ diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 9c17e9d..50c53c5 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -51,7 +51,7 @@ params: comments: enabled: true - provider: disqus + provider: gittalk disqusjs: shortname: @@ -111,6 +111,14 @@ params: reactionsEnabled: 1 emitMetadata: 0 + gittalk: + owner: 'Cookiekira' + admin: 'Cookiekira' + repo: 'gitment-comments' + clientID: 'c2acde8bec65d6540c9a' + clientSecret: 'cf8cdd3828f4a3e901389c3b7f3d331974644f88' + id: location.pathname, # Ensure uniqueness and length less than 50 + widgets: enabled: - search diff --git a/layouts/.DS_Store b/layouts/.DS_Store new file mode 100644 index 0000000..7659378 Binary files /dev/null and b/layouts/.DS_Store differ diff --git a/layouts/_default/.DS_Store b/layouts/_default/.DS_Store new file mode 100644 index 0000000..cb9b609 Binary files /dev/null and b/layouts/_default/.DS_Store differ diff --git a/layouts/partials/.DS_Store b/layouts/partials/.DS_Store new file mode 100644 index 0000000..e7838ef Binary files /dev/null and b/layouts/partials/.DS_Store differ diff --git a/layouts/partials/comments/.DS_Store b/layouts/partials/comments/.DS_Store new file mode 100644 index 0000000..aa69153 Binary files /dev/null and b/layouts/partials/comments/.DS_Store differ diff --git a/layouts/partials/comments/provider/gittalk.html b/layouts/partials/comments/provider/gittalk.html new file mode 100644 index 0000000..510d55e --- /dev/null +++ b/layouts/partials/comments/provider/gittalk.html @@ -0,0 +1,24 @@ +{{- with .Site.Params.comments.gittalk -}} + +
+ + + +{{ end }} diff --git a/theme.toml b/theme.toml index 2b9b841..6deb9ff 100644 --- a/theme.toml +++ b/theme.toml @@ -18,6 +18,7 @@ features = [ "darkmode", "table of contents", "search", + "gitalk", ] min_version = "0.78.0"