Answer the question
In order to leave comments, you need to log in
How to make Pug accept "multi-line" variables?
Hello to all!!! Pug complains if I write a variable (associative array) on multiple lines:
//cсылки для header.pug страницы video!!!
- var list_lnk_video = {
Index :"index.html",
Form :"form.html",
Iframe :"iframe.html",
Frameset :"frameset.html",
Table :"table.html",
Test :"test.html"};
Answer the question
In order to leave comments, you need to log in
Thanks everyone, I found the answer: the
syntax needs to be changed a little and everything works:
//cсылки для header.pug страницы video!!!
-
var list_lnk_video = {
Index :"index.html",
Form :"form.html",
Iframe :"iframe.html",
Frameset :"frameset.html",
Table :"table.html",
Test :"test.html"};
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question