# \[solved\] function get\_url seems not to work

**URL:** <https://zola.discourse.group/t/solved-function-get-url-seems-not-to-work/319>\
**Category:** Support\
**Created:** [February 15, 2020, 9:06am UTC](https://zola.discourse.group/t/solved-function-get-url-seems-not-to-work/319 "2020-02-15T09:06:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![HugoTrentesaux](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/hugotrentesaux/32/105_2.png) [@HugoTrentesaux](https://zola.discourse.group/u/HugoTrentesaux)\
**Post date:** [February 15, 2020, 9:06am UTC](https://zola.discourse.group/t/solved-function-get-url-seems-not-to-work/319/1 "2020-02-15T09:06:55Z")

</div>

In my `config.toml`

```auto
[extra]
[[extra.nav]]
name = "Home"
url = "@/_index.md"
[[extra.nav]]
name = "Page"
url = "@/page.md"

```

In my `index.html`

```auto
{% include "nav.html" %}

```

In my `nav.html`

```auto
<nav>
  {% for i in config.extra.nav %}
    <a href="{{ get_url(path=i.url) }}">{{i.name}}</a>
  {% endfor %}
</nav>

```

Resulting html

```auto
<nav>
<a href="http://127.0.0.1:1111/_index.md">Home</a>
<a href="http://127.0.0.1:1111/page.md">Page</a>
</nav>

```

Not exactly what was expected from [get\_url](https://www.getzola.org/documentation/templates/overview/#get-url) function…

Edit : for some reason I had to reload Zola. (letting it here in case it helps someone)
