mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-15 20:44:01 +02:00
Some godoc adjustments and image struct renames
This commit is contained in:
@@ -63,7 +63,7 @@ func (w WeightedPage) String() string {
|
||||
return fmt.Sprintf("WeightedPage(%d,%q)", w.Weight, w.Page.Title())
|
||||
}
|
||||
|
||||
// Slice is not meant to be used externally. It's a bridge function
|
||||
// Slice is for internal use.
|
||||
// for the template functions. See collections.Slice.
|
||||
func (p WeightedPage) Slice(in any) (any, error) {
|
||||
switch items := in.(type) {
|
||||
|
Reference in New Issue
Block a user