Skip to content

Commit

Permalink
Merge pull request google#260 from mateja82/disqus_fix
Browse files Browse the repository at this point in the history
fixed disqus integration, changing to .Site.Params.DisqusShortname
  • Loading branch information
LisaFC committed Apr 27, 2020
2 parents f19b852 + beea20d commit 1389c49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/_default/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h1>{{ .Title }}</h1>
{{ partial "feedback.html" .Site.Params.ui.feedback }}
<br />
{{ end }}
{{ if (.Site.DisqusShortname) }}
{{ if (.Site.Params.DisqusShortname) }}
<br />
{{ partial "disqus-comment.html" . }}
{{ end }}
Expand Down
2 changes: 1 addition & 1 deletion layouts/blog/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1>{{ .Title }}</h1>
<time datetime="{{ $.Date.Format "2006-01-02" }}" class="text-muted">{{ $.Date.Format $.Site.Params.time_format_blog }}</time>
</div>
{{ .Content }}
{{ if (.Site.DisqusShortname) }}
{{ if (.Site.Params.DisqusShortname) }}
<br />
{{ partial "disqus-comment.html" . }}
<br />
Expand Down

0 comments on commit 1389c49

Please sign in to comment.