mirror of
https://github.com/gohugoio/hugo.git
synced 2025-05-06 10:46:34 +03:00
10 lines
536 B
Markdown
10 lines
536 B
Markdown
---
|
|
title: global resource
|
|
---
|
|
|
|
A file within the `assets` directory, or within any directory [mounted](/hugo-modules/configuration/#module-configuration-mounts) to the `assets` directory. Capture one or more global resources using the [`resources.Get`], [`resources.GetMatch`], [`resources.Match`], or [`resources.ByType`] functions.
|
|
|
|
[`resources.Get`]: /functions/resources/get/
|
|
[`resources.GetMatch`]: /functions/resources/getmatch/
|
|
[`resources.Match`]: /functions/resources/match/
|
|
[`resources.ByType`]: /functions/resources/byType/
|