package siteidentities

import "github.com/gohugoio/hugo/resources/page/siteidentities"

Index

Constants

const (
	// Identifies site.Data.
	// The change detection in /data is currently very coarse grained.
	Data = identity.StringIdentity("site.Data")
)

Functions

func FromString

func FromString(name string) (identity.Identity, bool)

FromString returns the identity from the given string, or identity.Anonymous if not found.

Source Files

identities.go

Version
v0.144.2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
13 hours ago

Tools for package owners.