chore: added open-remark comment

This commit is contained in:
Rubel Hossain 2026-06-08 16:09:59 +06:00
parent 583172dea6
commit e31eaa65ff
5 changed files with 14 additions and 7 deletions

View file

@ -65,7 +65,7 @@ We have included almost everything you need to start your Hugo project. Let's se
- 📞 Support contact form
- 📱 Fully responsive
- 📝 Write and update content in Markdown
- 💬 Disqus Comment
- 💬 Open-Remark Comment
- 🔳 Syntax Highlighting
### 📄 15+ Pre-designed Pages

View file

@ -90,6 +90,9 @@ path = "github.com/gethugothemes/hugo-modules/seo-tools/site-verifications"
[[imports]]
path = "github.com/gethugothemes/hugo-modules/seo-tools/google-tag-manager"
[[imports]]
path = "github.com/gethugothemes/hugo-modules/components/open-remark"
# [[imports]]
# path = "github.com/gethugothemes/hugo-modules/seo-tools/baidu-analytics"

View file

@ -122,3 +122,9 @@ enable = false
# mailchimp subsciption
mailchimp_form_action = "https://gmail.us4.list-manage.com/subscribe/post?u=463ee871f45d2d93748e77cad&id=a0a2c6d074" # replace this url with yours
mailchimp_form_name = "b_463ee871f45d2d93748e77cad_a0a2c6d074"
# OpenRemark Comments
[open_remark]
enable = true
site_key = "cmq51sse6000504l2761vcywi" # your site key from the OpenRemark dashboard
embed_url = "https://open-remark.zeon.studio/embed.js" # OpenRemark embed.js URL | Make sure it didn't change

View file

@ -23,9 +23,6 @@ defaultContentLanguageInSubdir = false
[services.googleAnalytics]
ID = 'G-MEASUREMENT_ID' # see https://gohugo.io/templates/internal/#configure-google-analytics
[services.disqus]
shortname = 'themefisher-template' # we use disqus to show comments in blog posts . To install disqus please follow this tutorial https://portfolio.peter-baumgartner.net/2017/09/10/how-to-install-disqus-on-hugo/
########################## Permalinks ############################
[permalinks.page]
"pages" = "/:slugorcontentbasename/"

View file

@ -67,12 +67,13 @@
{{ partial "social-share" (dict "Context" . "Class" "share-icons" "Title" .Title "Whatsapp" false "Telegram" false "Linkedin" false "Pinterest" false "Tumblr" false "Vk" false "Reddit" false) }}
</div>
</div>
<!-- comments -->
{{ if site.Config.Services.Disqus.Shortname }}
<!-- open-remark comment -->
{{ if site.Params.open_remark.enable }}
<div class="mt-20">
{{ partial "disqus.html" . }}
{{ partial "open-remark.html" . }}
</div>
{{ end }}
</article>
</div>