package urls

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

Index

Types

type RefLinker

type RefLinker interface {
	Ref(args map[string]any) (string, error)
	RelRef(args map[string]any) (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.

Source Files

ref.go

Version
v0.109.0
Published
Dec 23, 2022
Platform
linux/amd64
Last checked
3 hours ago

Tools for package owners.