hugo: github.com/gohugoio/hugo/common/urls Index | Files

package urls

import "github.com/gohugoio/hugo/common/urls"

Index

Package Files

ref.go

type RefLinker Uses

type RefLinker interface {
    Ref(args map[string]interface{}) (string, error)
    RelRef(args map[string]interface{}) (string, error)
}

RefLinker is implemented by those who support reference linking. args must contain a path, but can also point to the target language or output format.

Package urls is imported by 22 packages. Updated 2018-11-02. Refresh now. Tools for package owners.