mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Fix deprecation errors
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user