mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Merge commit '346b60358dd8ec2ca228e6635bff9d7914b398b7'
This commit is contained in:
@@ -15,7 +15,7 @@ action:
|
||||
toc: true
|
||||
---
|
||||
|
||||
The `Resources` method on a `Page` object returns a collection of page resources. A page resource is a file within a [page bundle].
|
||||
The `Resources` method on a `Page` object returns a collection of page resources. A page resource is a file within a [page bundle](g).
|
||||
|
||||
To work with global or remote resources, see the [`resources`] functions.
|
||||
|
||||
@@ -82,7 +82,6 @@ When working with global resources instead of page resources, use the [`resource
|
||||
|
||||
This method is currently only useful in [js.Batch](/functions/js/batch/#import-context).
|
||||
|
||||
|
||||
## Pattern matching
|
||||
|
||||
With the `GetMatch` and `Match` methods, Hugo determines a match using a case-insensitive [glob pattern].
|
||||
@@ -96,4 +95,3 @@ With the `GetMatch` and `Match` methods, Hugo determines a match using a case-in
|
||||
[`resources`]: /functions/resources/
|
||||
[glob pattern]: https://github.com/gobwas/glob#example
|
||||
[media type]: https://en.wikipedia.org/wiki/Media_type
|
||||
[page bundle]: /getting-started/glossary/#page-bundle
|
||||
|
Reference in New Issue
Block a user