vert-x3 / vertx-web

HTTP web applications for Vert.x
Apache License 2.0
1.11k stars 536 forks source link

pebble template engine render page file with extension name is not working #1357

Open intecho opened 5 years ago

intecho commented 5 years ago

Version

Context

It still needs to setExtension("html") for working when pebble template engine render the page template file with a "html" extension name, and the code editor show a deprecated warning for the setExtension() method.

pmlopes commented 5 years ago

Perhaps we should rethink the deprecation... @intecho in your use case you don't use the .peb extension? why is that? I'd like to understand the reasons before reverting the deprecation.

intecho commented 5 years ago

yes, I use ".html" as Pebble template files extension name because the HTML file can open directly for view or debug, thanks.