Answer the question
In order to leave comments, you need to log in
Jade how to get filename?
You need to know its name in a certain file!
something like this: for index.jadetitle!= "Текущий файл #{global_scouting.filename}"
Compiled html :<title>Текущий файл index.jade</title>
Answer the question
In order to leave comments, you need to log in
I am compiling jade with gulp and there is a wonderful gulp-data plugin for it, it can pass whatever you want to the template
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question