M
M
myskypesla2016-08-13 17:18:14
HTML
myskypesla, 2016-08-13 17:18:14

Which HTML templating engine to choose?

Which HTML templating engine to choose?
Used SWIG JS, but the project died.
I tried Jade and HAML, I didn't like it, I prefer a more strict, non-ruby similar syntax.
Tasks, layout and front-end part of websites.
Question: which HTML templating engine to choose, which will live as long as the support of commercial projects will be required?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
X
xmoonlight, 2016-08-13
@xmoonlight

For a simple include in parts: https://github.com/xmoonlight/includeHTML
Perhaps I'll add something extra if it's required...

J
jershell, 2016-08-13
@jershell

Well, if you liked the shift, but the project died, use the analogue from mozilla https://mozilla.github.io/nunjucks/

R
Roman Ogarkov, 2016-08-13
@ogarich89

Template engine? Or an HTML preprocessor? If the template engine is not in the ruby ​​style, then Handlebars.js
If the preprocessor, then forget about it. Install Emmet in your code editor or IDE and enjoy.
JADE is an HTML preprocessor and templating engine
HAML is a preprocessor and templating engine

K
kravchenkoo, 2019-09-18
@kravchenkoo

Here is what helped me:
https://www.w3schools.com/howto/howto_html_include.asp

D
Denis Knyazev, 2016-08-13
@axaxa_man

https://habrahabr.ru/post/219873/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question