Fix warnings
This commit is contained in:
parent
94076c3c1c
commit
9a46ceb9ac
3 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@
|
|||
<script src="{{ . | relURL }}"></script>
|
||||
{{- end}}
|
||||
|
||||
{{ if not .Site.IsServer }}
|
||||
{{ if not hugo.IsServer }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
{{ end }}
|
||||
</body>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
{{ partial "share.html" . }}
|
||||
{{- end }}
|
||||
|
||||
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
||||
{{ if (and .Site.Config.Services.Disqus.Shortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
||||
<div class="comments">
|
||||
<h2>Comments</h2>
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue