From f0f4bcb243776d0552396d12758bd38cda779b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 6 Jan 2025 10:13:58 +0100 Subject: [PATCH] Update Batch.md --- content/en/functions/js/Batch.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/en/functions/js/Batch.md b/content/en/functions/js/Batch.md index 9960faa39..4299654dc 100644 --- a/content/en/functions/js/Batch.md +++ b/content/en/functions/js/Batch.md @@ -259,7 +259,9 @@ Eeach [`Resource`] will be of media type `application/javascript` or `text/css`. {{% note %}} The [`templates.Defer`] acts as a synchronisation point to handle scripts added concurrently by different templates. If you have a setup with where the batch is created in one go (in one template), you don't need it. -See [this discussion] for more. +See [this discussion](https://discourse.gohugo.io/t/js-batch-with-simple-global-script/53002/5?u=bep) for more. + +[`templates.Defer`]: /functions/templates/defer/ {{% /note %}} ```go-html-template