mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user