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

Route dynamic directories #264

Closed
g105b opened this issue Jan 30, 2018 · 1 comment
Closed

Route dynamic directories #264

g105b opened this issue Jan 30, 2018 · 1 comment

Comments

@g105b
Copy link
Member

g105b commented Jan 30, 2018

The dynamic html allows a single template page to be used for any request.

example.com/shop/something can be served by src/page/shop/_dynamic.html

This needs to be possible for directories too.

example.com/shop/apple/iphone can trigger the dynamic html for the product page, but example.com/shop/apple triggers the dynamic html for the category page.

This can be done using src/page/shop/_dynamic/_dynamic.html style URLs.

@g105b
Copy link
Member Author

g105b commented Apr 29, 2018

Closed using @variable terminology.

@g105b g105b closed this as completed Apr 29, 2018
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

1 participant