jamdocs
jamdocs copied to clipboard
Slashes in slugs
Hello.
It doesn't seem possible to resolve routes with slashes in slugs.
Is this possible?
I think it should be? Will have a look at it soon!
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.
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.