mirror of https://github.com/lxndrblz/anatole.git

Andreas Deininger
2 days ago d23a5e8fbb7aeacd6fd2a39bf4616e63ede75121
chore: fix hugo deprecation warnings (hugo 0.157.0) (#586)

Co-authored-by: Andreas Deininger <adeininger@urbanonline.de>
2 files modified
8 ■■■■ changed files
layouts/portfolio/list.html 4 ●●●● patch | view | raw | blame | history
netlify.toml 4 ●●●● patch | view | raw | blame | history
layouts/portfolio/list.html
@@ -1,6 +1,6 @@
{{ define "main" }}
  {{ $data := index .Site.Data .Site.Language.Lang "portfolio" }}
  {{ if not $data }}{{ $data = .Site.Data.portfolio }}{{ end }}
  {{ $data := index hugo.Data .Site.Language.Lang "portfolio" }}
  {{ if not $data }}{{ $data = hugo.Data.portfolio }}{{ end }}
  {{ range $index, $elemen:= $data.portfolioitems }}
    <div
      class="post {{ with .Site.Params.doNotLoadAnimations }}
netlify.toml
@@ -12,8 +12,8 @@
[build.environment]
  HUGO_VERSION = "0.157.0"
  DART_SASS_VERSION = "1.97.3"
  NODE_VERSION = "22"
  GO_VERSION = "1.24.3"
  NODE_VERSION = "24"
  GO_VERSION = "1.26.0"
  HUGO_ENV = "production"
  HUGO_THEME = "repo"
  HUGO_BASEURL = "https://anatole-demo.netlify.app"