Change `disqus_config` to `window.disqus_config` - hugo - [fork] hugo port for 9front
 (HTM) git clone git@git.drkhsh.at/hugo.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Submodules
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 6ff39fd908242e32942ddd7f239ffd06cc8e7dda
 (DIR) parent 96c0bdf3aab010e6bdd68e45b1bb490bfccf765f
 (HTM) Author: Akimo <qiuyuantahai5@gmail.com>
       Date:   Wed, 23 Feb 2022 13:42:40 +0900
       
       Change `disqus_config` to `window.disqus_config`
       Diffstat:
         M tpl/tplimpl/embedded/templates/dis… |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/tpl/tplimpl/embedded/templates/disqus.html b/tpl/tplimpl/embedded/templates/disqus.html
       @@ -2,7 +2,7 @@
        {{- if not $pc.Disable -}}
        {{ if .Site.DisqusShortname }}<div id="disqus_thread"></div>
        <script type="application/javascript">
       -    var disqus_config = function () {
       +    window.disqus_config = function () {
            {{with .Params.disqus_identifier }}this.page.identifier = '{{ . }}';{{end}}
            {{with .Params.disqus_title }}this.page.title = '{{ . }}';{{end}}
            {{with .Params.disqus_url }}this.page.url = '{{ . | html  }}';{{end}}