Move DisqusShortname into Params

This commit is contained in:
Jack Jackson 2024-12-28 15:06:33 -08:00
parent 82cd5fb6b4
commit 493e5da5f4
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,6 @@ baseURL = 'https://blog.scubbo.org/'
languageCode = 'en-us' languageCode = 'en-us'
title = "Jack Jackson's Blog" title = "Jack Jackson's Blog"
theme = "ananke" theme = "ananke"
DisqusShortname = 'scubbo-blog'
SectionPagesMenu = "main" SectionPagesMenu = "main"
@ -21,6 +20,7 @@ SectionPagesMenu = "main"
custom_css = ['inlinespoiler.css'] custom_css = ['inlinespoiler.css']
show_reading_time = true show_reading_time = true
page_source_base = "https://gitea.scubbo.org/scubbo/blogContent/src/branch/main/blog/" page_source_base = "https://gitea.scubbo.org/scubbo/blogContent/src/branch/main/blog/"
DisqusShortname = 'scubbo-blog'
# That is, explicitly disabling `categories` taxonomy # That is, explicitly disabling `categories` taxonomy
# https://gohugo.io/content-management/taxonomies/#example-removing-default-taxonomies # https://gohugo.io/content-management/taxonomies/#example-removing-default-taxonomies

View File

@ -55,7 +55,7 @@
{{- .Content -}} {{- .Content -}}
{{- partial "tags.html" . -}} {{- partial "tags.html" . -}}
<div class="mt6 instapaper_ignoref"> <div class="mt6 instapaper_ignoref">
{{ if .Site.DisqusShortname }} {{ if .Site.Params.DisqusShortname }}
{{ template "_internal/disqus.html" . }} {{ template "_internal/disqus.html" . }}
{{ end }} {{ end }}
{{ if .Site.Params.commentoEnable }} {{ if .Site.Params.commentoEnable }}