Skip to content

multiple folders when building with routify's $url #11

@onumahkalusamuel

Description

@onumahkalusamuel

Firstly, I must commend your amazing works. They've made life easier.

When I use routify's helper function $url to generate links, spank goes on to generate multiple recursive folders and files. When I use normal href, it works fine.
Something like:

── register
│   ├── contact-us
│   │   ├── contact-us
│   │   │   └── index.html
│   │   ├── index.html
│   │   ├── privacy-policy
│   │   │   └── index.html
│   │   └── terms
│   │   └── index.html
│   ├── index.html
│   ├── privacy-policy
│   │   ├── contact-us
│   │   │   └── index.html
│   │   ├── index.html
│   │   ├── privacy-policy
│   │   │   └── index.html
│   │   └── terms
│   │   └── index.html

Please, look into it at your convenience. The workaround is to have normal

<a href='/take-me-home'>...</a>

instead of

<a href={$url('take-me-home')}>...</a>

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions