From e01675dc4da418398b29cf355cd60e9631b9415c Mon Sep 17 00:00:00 2001 From: Thanwer Date: Sat, 23 May 2026 18:32:17 +0200 Subject: [PATCH] Override theme social-icons partial: hugo.Data -> site.Data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The upstream anubis2 theme references hugo.Data.social.social_icons, but `hugo` is a build-info namespace (hugo.Version, etc.) and has no .Data field — Hugo errors with "can't evaluate field Data in type interface {}". Theme data files live under site.Data, so this override swaps the access path. Submodule left untouched. Co-Authored-By: Claude Opus 4.7 --- layouts/partials/head/social-icons.html | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 layouts/partials/head/social-icons.html diff --git a/layouts/partials/head/social-icons.html b/layouts/partials/head/social-icons.html new file mode 100644 index 0000000..1e475b7 --- /dev/null +++ b/layouts/partials/head/social-icons.html @@ -0,0 +1,41 @@ +