quarkiverse / quarkus-qute-web

Automatically expose Qute templates via HTTP
Apache License 2.0
4 stars 5 forks source link

Allow templates with qute.html extension #70

Closed kucharzyk closed 5 months ago

kucharzyk commented 6 months ago

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 commented 6 months ago

@mkouba I've opened PR to fix this issue

mkouba commented 5 months ago

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 https://github.com/quarkiverse/quarkus-qute-web/pull/71.