mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-27 21:41:01 +00:00
parent
ee4274244b
commit
27a8049da7
2 changed files with 6 additions and 6 deletions
6
tpl/tplimpl/embedded/templates.autogen.go
generated
6
tpl/tplimpl/embedded/templates.autogen.go
generated
|
@ -90,9 +90,9 @@ var EmbeddedTemplates = [][2]string{
|
|||
{{ if .Site.DisqusShortname }}<div id="disqus_thread"></div>
|
||||
<script type="application/javascript">
|
||||
var disqus_config = function () {
|
||||
{{with .GetParam "disqus_identifier" }}this.page.identifier = '{{ . }}';{{end}}
|
||||
{{with .GetParam "disqus_title" }}this.page.title = '{{ . }}';{{end}}
|
||||
{{with .GetParam "disqus_url" }}this.page.url = '{{ . | html }}';{{end}}
|
||||
{{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}}
|
||||
};
|
||||
(function() {
|
||||
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
{{ if .Site.DisqusShortname }}<div id="disqus_thread"></div>
|
||||
<script type="application/javascript">
|
||||
var disqus_config = function () {
|
||||
{{with .GetParam "disqus_identifier" }}this.page.identifier = '{{ . }}';{{end}}
|
||||
{{with .GetParam "disqus_title" }}this.page.title = '{{ . }}';{{end}}
|
||||
{{with .GetParam "disqus_url" }}this.page.url = '{{ . | html }}';{{end}}
|
||||
{{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}}
|
||||
};
|
||||
(function() {
|
||||
if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
|
||||
|
|
Loading…
Reference in a new issue