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 templates with qute.html extension #70

Closed
kucharzyk opened this issue Jan 4, 2024 · 2 comments
Closed

Allow templates with qute.html extension #70

kucharzyk opened this issue Jan 4, 2024 · 2 comments

Comments

@kucharzyk
Copy link
Contributor

Currently quarkus-qute-web only supports templates with common extensions like .html

/pub/foo.html -> /foo

I would like to use qute.html extensions. Such templates are commonly used with qute

/pub/foo.qute.html -> /foo

Unfortunately currently it's not supported and /pub/foo.qute.html won't be mapped to /foo
It would be nice to support both to have more consistency between qute and qute-web.

@kucharzyk
Copy link
Contributor Author

@mkouba I've opened PR to fix this issue

@mkouba
Copy link
Contributor

mkouba commented Jan 9, 2024

For the record, the problem is only related to index pages. In other words, /pub/foo.qute.html -> /foo works just fine but /pub/index.qute.html -> / does not.

Fixed in #71.

@mkouba mkouba closed this as completed Jan 9, 2024
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

2 participants