Fix deprecation errors

This commit is contained in:
Bjørn Erik Pedersen
2024-08-05 19:14:07 +02:00
parent 2fcc53780f
commit 69455fa422
5 changed files with 4 additions and 39 deletions

View File

@@ -25,7 +25,7 @@ myenv = "theproduction"
myenv = "thedevelopment"
-- layouts/index.html --
<body>
Title: {{ .Title }}|BaseURL: {{ site.BaseURL }}|ServerPort: {{ site.ServerPort }}|myenv: {{ .Site.Params.myenv }}|Env: {{ hugo.Environment }}|IsServer: {{ site.IsServer }}|
Title: {{ .Title }}|BaseURL: {{ site.BaseURL }}|ServerPort: {{ site.ServerPort }}|myenv: {{ .Site.Params.myenv }}|Env: {{ hugo.Environment }}|IsServer: {{ hugo.IsServer }}|
</body>
-- layouts/404.html --
custom 404