Move DisqusShortname into Params
This commit is contained in:
parent
82cd5fb6b4
commit
493e5da5f4
@ -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
|
||||
|
@ -55,7 +55,7 @@
|
||||
{{- .Content -}}
|
||||
{{- partial "tags.html" . -}}
|
||||
<div class="mt6 instapaper_ignoref">
|
||||
{{ if .Site.DisqusShortname }}
|
||||
{{ if .Site.Params.DisqusShortname }}
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
{{ end }}
|
||||
{{ if .Site.Params.commentoEnable }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user