C
C
comalex32017-12-03 23:04:06
HTML
comalex3, 2017-12-03 23:04:06

Template engine for layout designer?

Look for the easiest option for splitting html pages into parts when layout. For example, take out common elements in the base templates (header, footer, etc.). Google says you can use

  1. Pug (ex Jade)
  2. HAML
  3. Twig
  4. Blade

They are all complex for such a simple task, and need to install php, nodejs which is already a problem for some people.
Is there an easier option for a coder?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
Froggyweb, 2017-12-04
@Froggyweb

Handlebars can only be used by connecting the script.
But without a gallp or a webpack it's hard these days.

D
Denis Ineshin, 2017-12-03
@IonDen

Personally, I use grunt/gulp + handlebars ( gulp-plugin , grunt-plugin ).
Installing grunt or gulp shouldn't scare you. Tutorials: grunt , gulp

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question