From 78aec78d7c5977ee4367093b1fd6910e6c6b6cb4 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Tue, 28 Apr 2026 19:03:38 +0200 Subject: fix: update deprecated .Site.Languages and .Site.Data APIs to site.Languages and hugo.Data - Replace .Site.Languages with site.Languages in hamburger-menu.html and header.html - Replace .Site.Data with hugo.Data in repository/single.html and footer.html - Add acronym shortcode for semantic HTML abbr tags with title attributes --- layouts/repository/single.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'layouts/repository') diff --git a/layouts/repository/single.html b/layouts/repository/single.html index 6249193..c02f7cf 100644 --- a/layouts/repository/single.html +++ b/layouts/repository/single.html @@ -28,12 +28,12 @@

{{ i18n "githubReposTitle" }}

- {{ if eq (len $.Site.Data.repos.repos) 1 }} + {{ if eq (len (index hugo.Data "repos").repos) 1 }}
{{ else }}
{{ end }} - {{ range $.Site.Data.repos.repos }} + {{ range (index hugo.Data "repos").repos }}