From a5b7e79ecd2e0bccec7eeb7d98312a04fa11cf98 Mon Sep 17 00:00:00 2001 From: David Karlsson <35727626+dvdksn@users.noreply.github.com> Date: Thu, 21 Dec 2023 16:07:46 +0100 Subject: [PATCH] hugo: use buildStats instead of writeStats Hugo v0.115.1 introduced buildStats instead of writeStats, which will be deprecated. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com> --- hugo.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hugo.yaml b/hugo.yaml index 16b27ee459..3636c894a8 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -37,7 +37,8 @@ related: toLower: false build: - writeStats: true + buildStats: + enabled: true cachebusters: - source: assets/watching/hugo_stats\.json target: styles\.css