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

Allow omitting .html in paths #10

Merged
merged 1 commit into from Nov 25, 2023
Merged

Conversation

anderseknert
Copy link
Contributor

First step in my quickblog journey. I'd prefer to have the URLs in my blog stripped from the .html extension. Many web servers do this type of rewrite already, such as the one used by GitHub Pages where I'm hosting my blog. But while this works in the hosted version of my blog, I'm obviously keen to have the same links work when testing locally.

If accepted, the next step would likely be to allow the quickblog renderer to strip the extension too, if configured to do so. But first things first :)

First step in my quickblog journey. I'd prefer to have the URLs in my
blog stripped from the .html extension. Many web servers do this type
of rewrite already, such as the one used by GitHub Pages where I'm
hosting my blog. But while this works in the hosted version of my blog,
I'm obviously keen to have the same links work when testing locally.

If accepted, the next step would likely be to allow the quickblog
renderer to strip the extension too, if configured to do so. But first
things first :)

Signed-off-by: Anders Eknert <anders@eknert.com>
@borkdude borkdude merged commit c8f061a into babashka:main Nov 25, 2023
@borkdude
Copy link
Collaborator

Thanks!

@anderseknert anderseknert deleted the with-ext branch November 25, 2023 23:02
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

Successfully merging this pull request may close these issues.

None yet

2 participants