mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Add resources.Copy
Implemented by most Resource objects, but not Page (for now). Fixes #9313
This commit is contained in:
@@ -26,8 +26,7 @@ var (
|
||||
_ ResourceError = (*resourceError)(nil)
|
||||
)
|
||||
|
||||
// Cloner is an internal template and not meant for use in the templates. It
|
||||
// may change without notice.
|
||||
// Cloner is for internal use.
|
||||
type Cloner interface {
|
||||
Clone() Resource
|
||||
}
|
||||
|
Reference in New Issue
Block a user