Fix warnings

This commit is contained in:
Alexandre Vicenzi 2024-02-16 00:27:13 +01:00
parent 94076c3c1c
commit 9a46ceb9ac
3 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -74,7 +74,7 @@
<script src="{{ . | relURL }}"></script>
{{- end}}
{{ if not .Site.IsServer }}
{{ if not hugo.IsServer }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
</body>

View file

@ -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" . }}