---
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/
