From 6c93dac970b1112d8f07d2a67718094122058837 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 26 May 2025 07:36:56 -0700 Subject: [PATCH] content: Clarify the AddResource content value --- content/en/content-management/content-adapters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/content-management/content-adapters.md b/content/en/content-management/content-adapters.md index 7dc9be779..a7732c62b 100644 --- a/content/en/content-management/content-adapters.md +++ b/content/en/content-management/content-adapters.md @@ -153,7 +153,7 @@ Key|Description|Required `title`|The resource title.|  > [!note] -> If the `content.value` is a string Hugo creates a new resource. If the `content.value` is a resource, Hugo obtains the value from the existing resource. +> When `content.value` is a string, Hugo generates a new resource with a publication path relative to the page. However, if `content.value` is already a resource, Hugo directly uses its value and publishes it relative to the site root. This latter method is more efficient. > > When setting the `path`, Hugo transforms the given string to a logical path. For example, setting `path` to `A B C/cover.jpg` produces a logical path of `/section/a-b-c/cover.jpg`.