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:
|
app:
|
||||||
build: .
|
build: .
|
||||||
working_dir: /blog
|
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:
|
ports:
|
||||||
- "1313:1313"
|
- "1313:1313"
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
<script src="{{ . | relURL }}"></script>
|
<script src="{{ . | relURL }}"></script>
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
{{ if not .Site.IsServer }}
|
{{ if not hugo.IsServer }}
|
||||||
{{ template "_internal/google_analytics.html" . }}
|
{{ template "_internal/google_analytics.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
{{ partial "share.html" . }}
|
{{ partial "share.html" . }}
|
||||||
{{- end }}
|
{{- 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">
|
<div class="comments">
|
||||||
<h2>Comments</h2>
|
<h2>Comments</h2>
|
||||||
{{ template "_internal/disqus.html" . }}
|
{{ template "_internal/disqus.html" . }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue