mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 15:16:52 -04:00
content: Fix front matter for several function pages
This commit is contained in:
parent
5d3542ea69
commit
7de6dbab39
@ -3,8 +3,9 @@ title: resources.Babel
|
|||||||
description: Compiles the given JavaScript resource with Babel.
|
description: Compiles the given JavaScript resource with Babel.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
related: []
|
functions_and_methods:
|
||||||
|
aliases: []
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: ['resources.Babel [OPTIONS] RESOURCE']
|
signatures: ['resources.Babel [OPTIONS] RESOURCE']
|
||||||
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0
|
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0
|
||||||
|
@ -3,14 +3,9 @@ title: resources.ByType
|
|||||||
description: Returns a collection of global resources of the given media type, or nil if none found.
|
description: Returns a collection of global resources of the given media type, or nil if none found.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related:
|
|
||||||
- functions/resources/Get
|
|
||||||
- functions/resources/GetMatch
|
|
||||||
- functions/resources/GetRemote
|
|
||||||
- functions/resources/Match
|
|
||||||
- methods/page/Resources
|
|
||||||
returnType: resource.Resources
|
returnType: resource.Resources
|
||||||
signatures: [resources.ByType MEDIATYPE]
|
signatures: [resources.ByType MEDIATYPE]
|
||||||
---
|
---
|
||||||
|
@ -3,9 +3,9 @@ title: resources.Concat
|
|||||||
description: Returns a concatenated slice of resources.
|
description: Returns a concatenated slice of resources.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related: []
|
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: ['resources.Concat TARGETPATH [RESOURCE...]']
|
signatures: ['resources.Concat TARGETPATH [RESOURCE...]']
|
||||||
---
|
---
|
||||||
|
@ -2,9 +2,9 @@
|
|||||||
title: resources.Copy
|
title: resources.Copy
|
||||||
description: Copies the given resource to the target path.
|
description: Copies the given resource to the target path.
|
||||||
categories: []
|
categories: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related: []
|
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: [resources.Copy TARGETPATH RESOURCE]
|
signatures: [resources.Copy TARGETPATH RESOURCE]
|
||||||
---
|
---
|
||||||
|
@ -3,10 +3,9 @@ title: resources.ExecuteAsTemplate
|
|||||||
description: Returns a resource created from a Go template, parsed and executed with the given context.
|
description: Returns a resource created from a Go template, parsed and executed with the given context.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related:
|
|
||||||
- functions/resources/FromString
|
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: [resources.ExecuteAsTemplate TARGETPATH CONTEXT RESOURCE]
|
signatures: [resources.ExecuteAsTemplate TARGETPATH CONTEXT RESOURCE]
|
||||||
---
|
---
|
||||||
|
@ -3,14 +3,9 @@ title: resources.Fingerprint
|
|||||||
description: Cryptographically hashes the content of the given resource.
|
description: Cryptographically hashes the content of the given resource.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: [fingerprint]
|
aliases: [fingerprint]
|
||||||
related:
|
|
||||||
- functions/resources/Minify
|
|
||||||
- functions/css/Sass
|
|
||||||
- functions/css/TailwindCSS
|
|
||||||
- functions/js/Build
|
|
||||||
- functions/js/Babel
|
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: ['resources.Fingerprint [ALGORITHM] RESOURCE']
|
signatures: ['resources.Fingerprint [ALGORITHM] RESOURCE']
|
||||||
---
|
---
|
||||||
|
@ -3,10 +3,9 @@ title: resources.FromString
|
|||||||
description: Returns a resource created from a string.
|
description: Returns a resource created from a string.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related:
|
|
||||||
- functions/resources/ExecuteAsTemplate
|
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: [resources.FromString TARGETPATH STRING]
|
signatures: [resources.FromString TARGETPATH STRING]
|
||||||
---
|
---
|
||||||
|
@ -3,14 +3,9 @@ title: resources.Get
|
|||||||
description: Returns a global resource from the given path, or nil if none found.
|
description: Returns a global resource from the given path, or nil if none found.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related:
|
|
||||||
- functions/resources/ByType
|
|
||||||
- functions/resources/GetMatch
|
|
||||||
- functions/resources/GetRemote
|
|
||||||
- functions/resources/Match
|
|
||||||
- methods/page/Resources
|
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: [resources.Get PATH]
|
signatures: [resources.Get PATH]
|
||||||
---
|
---
|
||||||
|
@ -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.
|
description: Returns the first global resource from paths matching the given glob pattern, or nil if none found.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related:
|
|
||||||
- functions/resources/ByType
|
|
||||||
- functions/resources/Get
|
|
||||||
- functions/resources/GetRemote
|
|
||||||
- functions/resources/Match
|
|
||||||
- methods/page/Resources
|
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: [resources.GetMatch PATTERN]
|
signatures: [resources.GetMatch PATTERN]
|
||||||
---
|
---
|
||||||
|
@ -3,16 +3,9 @@ title: resources.GetRemote
|
|||||||
description: Returns a remote resource from the given URL, or nil if none found.
|
description: Returns a remote resource from the given URL, or nil if none found.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
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
|
returnType: resource.Resource
|
||||||
signatures: ['resources.GetRemote URL [OPTIONS]']
|
signatures: ['resources.GetRemote URL [OPTIONS]']
|
||||||
---
|
---
|
||||||
|
@ -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.
|
description: Returns a collection of global resources from paths matching the given glob pattern, or nil if none found.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related:
|
|
||||||
- functions/resources/ByType
|
|
||||||
- functions/resources/Get
|
|
||||||
- functions/resources/GetMatch
|
|
||||||
- functions/resources/GetRemote
|
|
||||||
- methods/page/Resources
|
|
||||||
returnType: resource.Resources
|
returnType: resource.Resources
|
||||||
signatures: [resources.Match PATTERN]
|
signatures: [resources.Match PATTERN]
|
||||||
---
|
---
|
||||||
|
@ -3,14 +3,9 @@ title: resources.Minify
|
|||||||
description: Minifies the given resource.
|
description: Minifies the given resource.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: [minify]
|
aliases: [minify]
|
||||||
related:
|
|
||||||
- functions/resources/Fingerprint
|
|
||||||
- functions/css/Sass
|
|
||||||
- functions/css/TailwindCSS
|
|
||||||
- functions/js/Build
|
|
||||||
- functions/js/Babel
|
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: [resources.Minify RESOURCE]
|
signatures: [resources.Minify RESOURCE]
|
||||||
---
|
---
|
||||||
|
@ -3,8 +3,9 @@ title: resources.PostCSS
|
|||||||
description: Processes the given resource with PostCSS using any PostCSS plugin.
|
description: Processes the given resource with PostCSS using any PostCSS plugin.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
related: []
|
functions_and_methods:
|
||||||
|
aliases: []
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: ['resources.PostCSS [OPTIONS] RESOURCE']
|
signatures: ['resources.PostCSS [OPTIONS] RESOURCE']
|
||||||
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0
|
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0
|
||||||
|
@ -3,11 +3,9 @@ title: resources.PostProcess
|
|||||||
description: Processes the given resource after the build.
|
description: Processes the given resource after the build.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
|
functions_and_methods:
|
||||||
aliases: []
|
aliases: []
|
||||||
related:
|
|
||||||
- functions/css/PostCSS
|
|
||||||
- functions/css/Sass
|
|
||||||
returnType: postpub.PostPublishedResource
|
returnType: postpub.PostPublishedResource
|
||||||
signatures: [resources.PostProcess RESOURCE]
|
signatures: [resources.PostProcess RESOURCE]
|
||||||
---
|
---
|
||||||
|
@ -3,8 +3,9 @@ title: resources.ToCSS
|
|||||||
description: Transpiles Sass to CSS.
|
description: Transpiles Sass to CSS.
|
||||||
categories: []
|
categories: []
|
||||||
keywords: []
|
keywords: []
|
||||||
action:
|
params:
|
||||||
related: []
|
functions_and_methods:
|
||||||
|
aliases: []
|
||||||
returnType: resource.Resource
|
returnType: resource.Resource
|
||||||
signatures: ['resources.ToCSS [OPTIONS] RESOURCE']
|
signatures: ['resources.ToCSS [OPTIONS] RESOURCE']
|
||||||
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0
|
expiryDate: 2026-06-24 # deprecated 2024-06-24 in v0.128.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user