mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Remove "same path" restriction when using resources.Copy
This commit is contained in:
@@ -25,8 +25,6 @@ The relative URL of the new published resource will be:
|
||||
/img/new-image-name.jpg
|
||||
```
|
||||
|
||||
The target path must be different than the source path, as shown in the example above.
|
||||
|
||||
{{% note %}}
|
||||
Use the `resources.Copy` function with global, page, and remote resources.
|
||||
{{% /note %}}
|
||||
|
||||
Reference in New Issue
Block a user