# How to modify specify menu on dev env?

**URL:** <https://discourse.gohugo.io/t/how-to-modify-specify-menu-on-dev-env/45336>\
**Category:** support\
**Tags:** menu\
**Created:** [July 18, 2023, 7:05am UTC](https://discourse.gohugo.io/t/how-to-modify-specify-menu-on-dev-env/45336 "2023-07-18T07:05:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![razon](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/razon/32/14882_2.png) [@razon](https://discourse.gohugo.io/u/razon)\
**Post date:** [July 18, 2023, 7:05am UTC](https://discourse.gohugo.io/t/how-to-modify-specify-menu-on-dev-env/45336/1 "2023-07-18T07:05:30Z")

</div>

Hi, I’m creating a monorepo for multiple sites, I run multiple sites on local, and I want to change some menu URLs to local development URLs. For example

```sh
$ tree config
config/
  _default/
    menu.yaml
  development/
    menu.yaml

```

\_config/_default/menu.yaml_

```yaml
main:
  - name: Icons
    identifier: icons
    url: https://example.com/

  - name: Modules
    identifier: modules

  - name: Projects
    identifier: projects

```

_config/development/menu.yaml_

```yaml
main:
  - name: Icons
    identifier: icons
    url: http://localhost:13131/

```

I expect that Hugo will deeply merge those menus, but the `Modules` and `Projects` menus were gone, is it expected? Is there any way to avoid repeating all menus for development env?

---

<div class="post-metadata">

**Author:** ![pamubay](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pamubay/32/17838_2.png) [@pamubay](https://discourse.gohugo.io/u/pamubay)\
**Post date:** [July 18, 2023, 7:17am UTC](https://discourse.gohugo.io/t/how-to-modify-specify-menu-on-dev-env/45336/2 "2023-07-18T07:17:47Z")

</div>

> [@razon](#):
>
> is it expected?

Yes, array is not merged by Hugo.

* * *

---

<div class="post-metadata">

**Author:** ![razon](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/razon/32/14882_2.png) [@razon](https://discourse.gohugo.io/u/razon)\
**Post date:** [July 18, 2023, 7:22am UTC](https://discourse.gohugo.io/t/how-to-modify-specify-menu-on-dev-env/45336/3 "2023-07-18T07:22:37Z")

</div>

Thanks for the reminding, I forgot this. I keep this open to see if there are any solution to achieve this.
