Fix Hugo v0.156.0 template deprecations

This commit is contained in:
Eric Gusmao committed 2026-04-03 14:13:30 -03:00
1 parent 9bcb7d37d3
commit ee2fc91522
10 files changed
+14 -10

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{{ with .Params.sharingLinks | default (.Site.Params.article.sharingLinks | default false) }}
{{ $links := site.Data.sharing }}
{{ $links := hugo.Data.sharing }}
<section class="flex flex-row flex-wrap justify-center pt-4 text-xl">
{{ range . }}
{{ with index $links . }}