Fix warnings
This commit is contained in:
parent
94076c3c1c
commit
9a46ceb9ac
3 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ services:
|
|||
app:
|
||||
build: .
|
||||
working_dir: /blog
|
||||
command: hugo server -v --bind "0.0.0.0" --port 1313 --watch -t soho
|
||||
command: hugo server --logLevel info --bind "0.0.0.0" --port 1313 --watch -t soho
|
||||
ports:
|
||||
- "1313:1313"
|
||||
volumes:
|
||||
|
|
|
@ -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