diff --git a/blog/config.toml b/blog/config.toml index 5c3602c..6b00f38 100644 --- a/blog/config.toml +++ b/blog/config.toml @@ -2,7 +2,6 @@ baseURL = 'https://blog.scubbo.org/' languageCode = 'en-us' title = "Jack Jackson's Blog" theme = "ananke" -DisqusShortname = 'scubbo-blog' SectionPagesMenu = "main" @@ -21,6 +20,7 @@ SectionPagesMenu = "main" custom_css = ['inlinespoiler.css'] show_reading_time = true page_source_base = "https://gitea.scubbo.org/scubbo/blogContent/src/branch/main/blog/" + DisqusShortname = 'scubbo-blog' # That is, explicitly disabling `categories` taxonomy # https://gohugo.io/content-management/taxonomies/#example-removing-default-taxonomies diff --git a/blog/layouts/_default/single.html b/blog/layouts/_default/single.html index f9bdcba..3720c32 100644 --- a/blog/layouts/_default/single.html +++ b/blog/layouts/_default/single.html @@ -55,7 +55,7 @@ {{- .Content -}} {{- partial "tags.html" . -}}
- {{ if .Site.DisqusShortname }} + {{ if .Site.Params.DisqusShortname }} {{ template "_internal/disqus.html" . }} {{ end }} {{ if .Site.Params.commentoEnable }}