-
Notifications
You must be signed in to change notification settings - Fork 47
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
paths like /post/example-post
should serve example-post.html
#89
Comments
This app is not specifically aimed at React or Angular framework. Maybe a dedicated app is relevant ? |
As I say, this is not a behaviour specific to react or angular, but a part of general patterns such as SPA, which are supported by Web standards via the history api: https://developer.mozilla.org/en-US/docs/Web/API/History/pushState yes, such configuration might be a good way to solve it! |
Also worth a look: https://en.wikipedia.org/wiki/Clean_URL#Implementation |
Hi Nathan, if you want to implement clean URLs on your website, it is fairly simple. There are instructions at this website: https://www.hostnextra.com/kb/how-to-remove-html-extension-in-nginx |
I confirm the problem and steps from the link (I needed to open it using Web Archive) didn't help me here. i will describe my case. I have an Obsidian vault that I wanted to publish using Quartz generator. Generated website uses I see I changed line Quartz author won't change this behavior in his generator -> jackyzha0/quartz#591 |
Right now I'm achieving this on my own Creating the folder But it is of course an extra step per file unless you use an automated generator. |
I actually think it's fairly standard practice outside of react or angular frameworks for paths like
/post/example-post
to go toexample-post.html
This is a part of the modern web, I think.
If you look at the url for this pull request, for example, it is
https://github.com/YunoHost-Apps/my_webapp_ynh/pull/76
without a file extension!Originally posted by @NathanRussellUK in #76 (comment)
The text was updated successfully, but these errors were encountered: