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

Sub pages #113

Open
yoannes opened this issue Feb 22, 2023 · 2 comments
Open

Sub pages #113

yoannes opened this issue Feb 22, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@yoannes
Copy link
Contributor

yoannes commented Feb 22, 2023

Is your feature request related to a problem? Please describe.
Support for nested sub pages

Describe the solution you'd like
Possibility to create sub-pages:

/blog/features/index.spear <- OK
/blog/features/content.spear <- Can't

image

@yoannes yoannes added the enhancement New feature or request label Feb 22, 2023
@mantaroh
Copy link
Collaborator

@yoannes

Thank you for reporting this issue.
I try to reproduce this phenomenon, but I cannot reproduce it yet.

My sample is bellow:
https://github.com/mantaroh/spear-sample/tree/main/src/blog

I guess v1.1.11 will fix sub directory issue, so you need to use 1.1.11 or higher version.

Could you please confirm my sample and check the spear version?

@yoannes
Copy link
Contributor Author

yoannes commented Mar 2, 2023

@mantaroh sannn

I could do it, but had to use it like this:

/blog/features/index.spear
/blog/features/content/index.spear

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

No branches or pull requests

2 participants