-
Notifications
You must be signed in to change notification settings - Fork 183
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
Option for pretty (extension-less) routes #282
Comments
Wouldn't it be simpler to just have a tag in the frontmatter instead? |
Hmm. But what if I want that behavior for all pages, not just select ones? (it'll probably be hard enough to keep the paths to the assets of a page correct) |
I was thinking something like: "pretty_routes: true" in the site.yaml which would then apply to the whole site. You could also do it in each app.yaml. |
I was actually thinking the same and wanted a config option for |
Yes, I was unclear. I think this would be a great addition to Nue. |
We have a file
<project-root>/x.md
which will currently get transformed to/x.html
on the web.Allow transformation to
/x
or/x/
by putting the resulting file to/x/index.html
The text was updated successfully, but these errors were encountered: