the implementation of Pajade include does not support mixins, but "extends" does, although you need to use a "block". So what could you do if you just need to import a single file:
extends mixins.jade
block layout
+link("example", "http://example.com/")
mixins.jade:
mixin link(text, url)
a(href=url)= text
block layout
(Answering my own question, because I was looking for everything to figure it out myself, and thought it might be useful to others)
Albin source
share