mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-02 22:52:51 +02:00
tpl/tplimpl: Remove superfluous type attr on script elements
Closes #6379
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
5887230b7d
commit
8d32ca223d
@@ -1,7 +1,7 @@
|
||||
{{- $pc := .Site.Config.Privacy.Disqus -}}
|
||||
{{- if not $pc.Disable -}}
|
||||
{{ if .Site.Config.Services.Disqus.Shortname }}<div id="disqus_thread"></div>
|
||||
<script type="application/javascript">
|
||||
<script>
|
||||
window.disqus_config = function () {
|
||||
{{with .Params.disqus_identifier }}this.page.identifier = '{{ . }}';{{end}}
|
||||
{{with .Params.disqus_title }}this.page.title = '{{ . }}';{{end}}
|
||||
|
Reference in New Issue
Block a user