From 8b77ca5fe754730d4e563526168822be631cefb6 Mon Sep 17 00:00:00 2001 From: eltrac Date: Mon, 30 Mar 2026 15:36:07 +0800 Subject: chore: replace deprecated `site.Data` with `hugo.Data` --- layouts/_partials/posts/comment.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_partials/posts/comment.html') diff --git a/layouts/_partials/posts/comment.html b/layouts/_partials/posts/comment.html index bcd0b17b..90757781 100644 --- a/layouts/_partials/posts/comment.html +++ b/layouts/_partials/posts/comment.html @@ -6,7 +6,7 @@ --> {{ $cutoffDate := time.AsTime "2026-01-30" }} {{ if .Params.Date.Before $cutoffDate }} - {{ $giscusData := .Site.Data.giscus }} + {{ $giscusData := hugo.Data.giscus }} {{ $pageTitle := .Title }} {{ range $giscusData }} {{ if eq .title $pageTitle }} -- cgit v1.2.3