feat: if site configuration for disqus is set, use hugo embedded disqus template

This commit is contained in:
nolleh 2024-05-25 00:52:48 +09:00
parent 3f50861a0c
commit 7ec2f02e63
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
{{- /* Comments area start */ -}}
{{- /* to add comments read => https://gohugo.io/content-management/comments/ */ -}}
{{- if site.Config.Services.Disqus.Shortname }}
{{ template "_internal/disqus.html" . }}
{{- end}}
{{- /* Comments area end */ -}}