mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 19:14:40 -04:00
Remove "same path" restriction when using resources.Copy
This commit is contained in:
parent
66237fe12d
commit
3873cf2097
@ -25,8 +25,6 @@ The relative URL of the new published resource will be:
|
|||||||
/img/new-image-name.jpg
|
/img/new-image-name.jpg
|
||||||
```
|
```
|
||||||
|
|
||||||
The target path must be different than the source path, as shown in the example above.
|
|
||||||
|
|
||||||
{{% note %}}
|
{{% note %}}
|
||||||
Use the `resources.Copy` function with global, page, and remote resources.
|
Use the `resources.Copy` function with global, page, and remote resources.
|
||||||
{{% /note %}}
|
{{% /note %}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user