Timeline for Include with -- variable does not exist error
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11, 2018 at 22:27 | comment | added | Mosswalker | I wish I could tell you what I changed, but this was resolved just as I was getting the hand of twig/craft. I can say that I do use include with in my templates like this:{% set vars = {'title' : title } %} {% include "_includes/_header.html" with vars %} | |
Jul 9, 2018 at 19:56 | comment | added | Vaughn D. Taylor | A more detailed explanation of how to include with variables would be much appreciated. What was your solution? Can you share? | |
Dec 18, 2017 at 18:35 | vote | accept | Mosswalker | ||
Dec 18, 2017 at 18:35 | history | answered | Mosswalker | CC BY-SA 3.0 |