hugo: Index | Files

package images

import ""

Package images provides template functions for manipulating images.


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.

func (*Namespace) Filter Uses

func (ns *Namespace) Filter(args ...interface{}) (resource.Image, error)

Package images imports 12 packages (graph) and is imported by 44 packages. Updated 2019-09-07. Refresh now. Tools for package owners.