bdkjones / Kit

The Kit Compiler, as implemented in CodeKit
77 stars 6 forks source link

Accept empty var #6

Closed emmanuelhonore closed 9 years ago

emmanuelhonore commented 9 years ago

I would love to see the possibility to declare empty variables, which would be useful in some situation like this one: (you want a prev/nav button but not on the index for ex.)

index.kit

<!-- $navigation -->
<!--@import header.kit --> 

somePage.kit

<!-- $navigation <nav><a href="nextpage.html">Next Page</a></nav> -->
<!--@import header.kit --> 

header.kit

<h1>My Awesome Site</h1>
<!--$navigation-->
bdkjones commented 9 years ago

Yep. This is on deck for implementation. There's already an issue for it, so I'm closing this one. Thanks.