It's been a while but I think we used Jade (default for express I think). Looking at EJS.
It seems likely these templating languages are inspired by Rails options. EJS is like ERB and Jade looks a lot like HAML.
My experience with Rails is that it's a pretty good idea to go with stuff that looks more like HTML in the end. Jade (and HAML) are usually cleaner to look at but ultimately it's easier to go with what people will pick up quickly because it's closer to what they know.
That’s good advice, I normally avoid the HAML like templates mostly because I don’t want to take the time to learn another HTML. I’ve been trying out Handlebars, but I’ll take a look at EJS and see how it goes. Do you guys use any Node on the server for Dev.to?
It's been a while but I think we used Jade (default for express I think). Looking at EJS.
It seems likely these templating languages are inspired by Rails options. EJS is like ERB and Jade looks a lot like HAML.
My experience with Rails is that it's a pretty good idea to go with stuff that looks more like HTML in the end. Jade (and HAML) are usually cleaner to look at but ultimately it's easier to go with what people will pick up quickly because it's closer to what they know.
jade and pug are same. :)
That’s good advice, I normally avoid the HAML like templates mostly because I don’t want to take the time to learn another HTML. I’ve been trying out Handlebars, but I’ll take a look at EJS and see how it goes. Do you guys use any Node on the server for Dev.to?
Handlebars allows you to have some template sharing (main app template and partials) whereas EJS doesn't.
Nope. We have some Node experience on the team but no Node use. Rails backend with some AWS Lambda in the mix.