content: Fix front matter for several function pages

This commit is contained in:
Joe Mooring 2025-03-06 13:10:42 -08:00 committed by Joe Mooring
parent 5d3542ea69
commit 7de6dbab39
17 changed files with 78 additions and 116 deletions

View File

@ -3,8 +3,9 @@ title: resources.Babel
description: Compiles the given JavaScript resource with Babel.
categories: []
keywords: []
action:
related: []
params:
functions_and_methods:
aliases: []
returnType: resource.Resource
signatures: ['resources.Babel [OPTIONS] RESOURCE']
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0

View File

@ -3,14 +3,9 @@ title: resources.ByType
description: Returns a collection of global resources of the given media type, or nil if none found.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related:
- functions/resources/Get
- functions/resources/GetMatch
- functions/resources/GetRemote
- functions/resources/Match
- methods/page/Resources
returnType: resource.Resources
signatures: [resources.ByType MEDIATYPE]
---

View File

@ -3,9 +3,9 @@ title: resources.Concat
description: Returns a concatenated slice of resources.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related: []
returnType: resource.Resource
signatures: ['resources.Concat TARGETPATH [RESOURCE...]']
---

View File

@ -2,9 +2,9 @@
title: resources.Copy
description: Copies the given resource to the target path.
categories: []
action:
params:
functions_and_methods:
aliases: []
related: []
returnType: resource.Resource
signatures: [resources.Copy TARGETPATH RESOURCE]
---

View File

@ -3,10 +3,9 @@ title: resources.ExecuteAsTemplate
description: Returns a resource created from a Go template, parsed and executed with the given context.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related:
- functions/resources/FromString
returnType: resource.Resource
signatures: [resources.ExecuteAsTemplate TARGETPATH CONTEXT RESOURCE]
---

View File

@ -3,14 +3,9 @@ title: resources.Fingerprint
description: Cryptographically hashes the content of the given resource.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: [fingerprint]
related:
- functions/resources/Minify
- functions/css/Sass
- functions/css/TailwindCSS
- functions/js/Build
- functions/js/Babel
returnType: resource.Resource
signatures: ['resources.Fingerprint [ALGORITHM] RESOURCE']
---

View File

@ -3,10 +3,9 @@ title: resources.FromString
description: Returns a resource created from a string.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related:
- functions/resources/ExecuteAsTemplate
returnType: resource.Resource
signatures: [resources.FromString TARGETPATH STRING]
---

View File

@ -3,14 +3,9 @@ title: resources.Get
description: Returns a global resource from the given path, or nil if none found.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related:
- functions/resources/ByType
- functions/resources/GetMatch
- functions/resources/GetRemote
- functions/resources/Match
- methods/page/Resources
returnType: resource.Resource
signatures: [resources.Get PATH]
---

View File

@ -3,14 +3,9 @@ title: resources.GetMatch
description: Returns the first global resource from paths matching the given glob pattern, or nil if none found.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related:
- functions/resources/ByType
- functions/resources/Get
- functions/resources/GetRemote
- functions/resources/Match
- methods/page/Resources
returnType: resource.Resource
signatures: [resources.GetMatch PATTERN]
---

View File

@ -3,16 +3,9 @@ title: resources.GetRemote
description: Returns a remote resource from the given URL, or nil if none found.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related:
- functions/data/GetCSV
- functions/data/GetJSON
- functions/resources/ByType
- functions/resources/Get
- functions/resources/GetMatch
- functions/resources/Match
- methods/page/Resources
returnType: resource.Resource
signatures: ['resources.GetRemote URL [OPTIONS]']
---

View File

@ -3,14 +3,9 @@ title: resources.Match
description: Returns a collection of global resources from paths matching the given glob pattern, or nil if none found.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related:
- functions/resources/ByType
- functions/resources/Get
- functions/resources/GetMatch
- functions/resources/GetRemote
- methods/page/Resources
returnType: resource.Resources
signatures: [resources.Match PATTERN]
---

View File

@ -3,14 +3,9 @@ title: resources.Minify
description: Minifies the given resource.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: [minify]
related:
- functions/resources/Fingerprint
- functions/css/Sass
- functions/css/TailwindCSS
- functions/js/Build
- functions/js/Babel
returnType: resource.Resource
signatures: [resources.Minify RESOURCE]
---

View File

@ -3,8 +3,9 @@ title: resources.PostCSS
description: Processes the given resource with PostCSS using any PostCSS plugin.
categories: []
keywords: []
action:
related: []
params:
functions_and_methods:
aliases: []
returnType: resource.Resource
signatures: ['resources.PostCSS [OPTIONS] RESOURCE']
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0

View File

@ -3,11 +3,9 @@ title: resources.PostProcess
description: Processes the given resource after the build.
categories: []
keywords: []
action:
params:
functions_and_methods:
aliases: []
related:
- functions/css/PostCSS
- functions/css/Sass
returnType: postpub.PostPublishedResource
signatures: [resources.PostProcess RESOURCE]
---

View File

@ -3,8 +3,9 @@ title: resources.ToCSS
description: Transpiles Sass to CSS.
categories: []
keywords: []
action:
related: []
params:
functions_and_methods:
aliases: []
returnType: resource.Resource
signatures: ['resources.ToCSS [OPTIONS] RESOURCE']
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0