# Mount multiple directories as Hugo \`assets\`

**URL:** <https://discourse.gohugo.io/t/mount-multiple-directories-as-hugo-assets/44267>\
**Category:** support\
**Created:** [May 8, 2023, 10:08pm UTC](https://discourse.gohugo.io/t/mount-multiple-directories-as-hugo-assets/44267 "2023-05-08T22:08:49Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [May 8, 2023, 10:37pm UTC](https://discourse.gohugo.io/t/mount-multiple-directories-as-hugo-assets/44267/2 "2023-05-08T22:37:21Z")

</div>

If you want to mount both of these to `assets`:

```auto
mysite/assets/
mysite/foo/

```

You need to mount both:

```auto
module:
  mounts:
  - source: assets
    target: assets
  - source: foo
    target: assets

```

[https://gohugo.io/hugo-modules/configuration/#module-config-mounts](https://gohugo.io/hugo-modules/configuration/#module-config-mounts)

> When you add a mount, the default mount for the concerned target root is ignored: be sure to explicitly add it.

---

_[View the full topic](https://discourse.gohugo.io/t/mount-multiple-directories-as-hugo-assets/44267)._
