hugo: github.com/gohugoio/hugo/tpl/images Index | Files

package images

import "github.com/gohugoio/hugo/tpl/images"

Index

Package Files

images.go init.go

type Namespace Uses

type Namespace struct {
    // contains filtered or unexported fields
}

Namespace provides template functions for the "images" namespace.

func New Uses

func New(deps *deps.Deps) *Namespace

New returns a new instance of the images-namespaced template functions.

func (*Namespace) Config Uses

func (ns *Namespace) Config(path interface{}) (image.Config, error)

Config returns the image.Config for the specified path relative to the working directory.

Package images imports 9 packages (graph) and is imported by 2 packages. Updated 2017-06-13. Refresh now. Tools for package owners.