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/partials/footer.html | 2 +- layouts/partials/hamburger-menu.html | 2 +- layouts/partials/header.html | 2 +- layouts/repository/single.html | 4 ++-- layouts/shortcodes/acronym.html | 1 + 5 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 layouts/shortcodes/acronym.html diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1e50d6f..aec694b 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,4 +1,4 @@ -{{- $quotes := .Site.Data.quotes.quotes -}} +{{- $quotes := (index hugo.Data "quotes").quotes -}}