Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slashes in slugs #21

Open
davestewart opened this issue Jun 3, 2020 · 3 comments
Open

Slashes in slugs #21

davestewart opened this issue Jun 3, 2020 · 3 comments

Comments

@davestewart
Copy link

Hello.

It doesn't seem possible to resolve routes with slashes in slugs.

Is this possible?

@samuelhorn
Copy link
Owner

I think it should be? Will have a look at it soon!

@mrbenosborne
Copy link
Contributor

I am having this issue to, I have the following under settings.json:

{
      "section": "Packages",
      "topics": [
        {
          "title": "Packages",
          "slug": "packages"
        },
        {
          "title": "Collection",
          "slug": "packages/collection"
        }
      ]
    }

and in collection.md:

---
title: Collection
date: 2020-10-07 19:00:00
slug: packages/collection
---

It throws a 404.

@samuelhorn
Copy link
Owner

samuelhorn commented Oct 7, 2020

Hmm.

If you put a slug in settings.json like "test/test" it will indeed go to the right route when you click the link. But maybe @gridsome/source-filesystem don't support creating routes by putting *.md files in a sub-directory. Will have to investigate this further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants