package urls

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

Index

Types

type RefLinker

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.

Source Files

ref.go

Version
v0.64.1
Published
Feb 9, 2020
Platform
linux/amd64
Last checked
7 hours ago

Tools for package owners.