Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -2,11 +2,11 @@
title: resources.Copy
description: Copies the given resource to the target path.
categories: []
action:
aliases: []
related: []
returnType: resource.Resource
signatures: [resources.Copy TARGETPATH RESOURCE]
params:
functions_and_methods:
aliases: []
returnType: resource.Resource
signatures: [resources.Copy TARGETPATH RESOURCE]
---
```go-html-template
@@ -23,6 +23,5 @@ The relative URL of the new published resource will be:
/img/new-image-name.jpg
```
{{% note %}}
Use the `resources.Copy` function with global, page, and remote resources.
{{% /note %}}
> [!note]
> Use the `resources.Copy` function with global, page, and remote resources.