jazzi
May 28, 2025, 9:26am
1
Hi,
The Hugo theme I use is Novela: GitHub - forestryio/hugo-theme-novela: Novela, the simplest way to start publishing with Hugo and Forestry.
I keep receiving the error as below though I changed [social] to [params.social] in the config.yaml already.
ERROR deprecated: .Site.Social was deprecated in Hugo v0.124.0 and subsequently removed. Implement taxonomy 'social' or use .Site.Params.Social instead.
irkode
May 28, 2025, 10:56am
2
it’s still in the theme:
<div class="social-icon-outer">
<div class="social-icon-container">
{{ range $index, $component := .Site.Social }}
{{ with $component }}
{{ $path := print "icons/social/" $index }}
<a href="{{ . }}">{{ partial $path $ }}</a>
<span class="hidden">{{ $component }}</span>
{{ end }}
{{ end }}
</div>
</div>
you may want to raise an issue to the Novela theme.
in the meanwhile copy that file to you project layouts folder and adapt it there
jazzi
May 28, 2025, 2:17pm
3
Thank you.
I changed .Site.Social to .Site.Params.Social and still get same error.
<div class="social-icon-outer">
<div class="social-icon-container">
{{ range $index, $component := .Site.Params.Social }}
{{ with $component }}
{{ $path := print "icons/social/" $index }}
<a href="{{ . }}">{{ partial $path $ }}</a>
<span class="hidden">{{ $component }}</span>
{{ end }}
{{ end }}
</div>
</div>
sry, first was a quick check on mobile - overseen one:
fix this, too: layouts\partials\seo\print.html
Hint: the theme got it’s latest commit 4 years ago - so an issue might not help
jazzi
May 29, 2025, 2:57pm
5
It works, thank you. So there are three files need to change:
config.yaml - change [social] to [params.social]
layouts\partials\seo\print.html - change .Site.Social to .Site.Params.Social
layouts\partials\social-links\social-links.html - change .Site.Social to .Site.Params.Social
1 Like
Rohit
October 21, 2025, 7:01am
6
Hey! I’m getting the same error ERROR Deprecated .Site.Social
hugo v0.142.0+extended linux/amd64 BuildDate=2025-01-24T00:00:00+00:00 VendorInfo-Fedora: 0.142.0-4.fc42
ERROR deprecated: Site. Social was deprecated in Hugo v0.124.0 and will be removed in Hugo 0.143.0. Implement taxonomy . Site.Params. Social instead.
I don’t able to see any kind of .Site.Social in the yaml file.
Please guide how to fix it
irkode
October 21, 2025, 7:37am
7
Welcome Rohit,
first the gory forum stuff: read and follow: Requesting Help
Don’t use old topics for support requests
open a new one with details. if you feel it’s likely the same add a link.
Show what you have
such kind of errors heavily depend on
your config
your layouts
your used theme (if any)
If you use the same theme as the OP than just do the same
if not or that does not help
The approach to solve is the same but may vary dependent on the points above.
Let us see your code
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.