You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, this is a bit old but I figured this out in case anyone else is interested.
First of all, you'll need to import "a" in b, so:
views/a.amber
mixin a
foo
views/b.amber
import a
+a
However, one gotcha I found is that if you are extending another template and are overriding blocks, for your mixin to be visible to the blog you have to import INSIDE of the block, e.g.
Pasted the code and error
main.go
views/a.amber
views/b.amber
err:
Any idea?
The text was updated successfully, but these errors were encountered: