uwe-app / app

Universal web editor
https://uwe.app
0 stars 0 forks source link

Consider tera templating support #192

Open tmpfs opened 3 years ago

tmpfs commented 3 years ago

According to some benchmarks the tera templating engine is substantially faster than handlebars.

Consider supporting tera as an alternative templating engine. The pros are that it could be faster and it would help people that want to migrate from Zola and are familiar with the Jinja2 style syntax however it would make the page editor part of the UI substantially more complicated as we would need to deal with two different template languages.

It would also complicate the documentation and various runtime dependencies such as the feed templates etc etc.

tmpfs commented 3 years ago

Initial preparation in 237939970d32220021a6d71e600f6e67611b26c4 to support multiple template engines.

tmpfs commented 3 years ago
tmpfs commented 3 years ago

The config got an engine field in 7a9406e8f7b4468c9b189512dd133ab57a56def1.