M
M
Maxim2016-01-17 18:23:00
Haml
Maxim, 2016-01-17 18:23:00

How to connect one haml file to another?

Hello!
It is necessary to use gulp-haml in a project without ruby, and I can’t understand something how to include files into each other, for example, repeating elements

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Homsa Toft, 2016-01-17
@kostein

If without ruby, then this will not work?

%header.page-header
  .container
    = Haml::Engine.new(File.read('./includes/menu-main.haml')).render
    .login

Well then some kind of gulp-include .

Similar questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question