Skip to content

Commit f1c6fc9

Browse files
tonykayclaude
andcommitted
feat: migrate from Commento to Disqus comments
- Replace Commento with Disqus comment system - Configure Disqus shortname: disqus_YWibv6kNhd - Disable Commento in params.toml - Remove Commento integration from comments partial - Delete commento-custom.css (no longer needed) Migration complete - Disqus now active on all blog posts. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent aae8dec commit f1c6fc9

4 files changed

Lines changed: 3 additions & 268 deletions

File tree

config/_default/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
title = "Spec Coding"
22
languageCode = "en-us"
33
theme = ["github.com/chipzoller/hugo-clarity"]
4-
disqusShortname = "works-on-their-machines"
4+
disqusShortname = "disqus_YWibv6kNhd"
55
googleAnalytics = "" # Enable Google Analytics by entering your tracking id
66

77
[params]

config/_default/params.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,9 @@ blogDir = "post"
127127
# giscusLang = "en" # Default: en
128128

129129
# Enable or disable Commento comments (https://commento.io)
130+
# DISABLED - Migrated to Disqus
130131
[commento]
131-
enabled = true
132+
enabled = false
132133
url = "https://cdn.commento.io"
133134

134135

layouts/partials/comments.html

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,4 @@
88
{{ if .Site.Params.giscus }}
99
{{ partial "giscus.html" . }}
1010
{{ end }}
11-
12-
{{/* Commento Comments Integration */}}
13-
{{ if .Site.Params.commento.enabled }}
14-
<div id="commento-section">
15-
<script
16-
defer
17-
src="{{ .Site.Params.commento.url }}/js/commento.js"
18-
data-page-id="{{ .RelPermalink }}"
19-
data-css-override="{{ "/css/commento-custom.css" | absURL }}"
20-
data-no-fonts="true"
21-
></script>
22-
<div id="commento"></div>
23-
</div>
24-
{{ end }}
2511
</div>

static/css/commento-custom.css

Lines changed: 0 additions & 252 deletions
This file was deleted.

0 commit comments

Comments
 (0)