Update tpl/reflect/reflect.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Bjørn Erik Pedersen
2025-12-27 18:36:30 +01:00
parent b7bb557c6a
commit 1deec99bba
+1 -1
View File
@@ -56,7 +56,7 @@ func (ns *Namespace) IsSite(v any) bool {
return ok
}
// IsImageResource reports whether v is an Hugo Image Resource.
// IsImageResource reports whether v is a Hugo Image Resource.
// If this returns true, you may process it and get information about its width, height, etc.
func (ns *Namespace) IsImageResource(v any) bool {
return resources.IsImage(v)