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
To reproduce: use the example code in the example/actions directory & amend the template to the following:
mixin ListItem
li This is from the mixin
doctype html
html(lang=en)
head
meta(charset=utf-8)
title Title
body
p ads
ul
li The name is {{.Name}}.
li The age is {{.Age}}.
+ListItem
range .Emails
div An email is {{.}}
with .Jobs
range .
div.
An employer is {{.Employer}}
and the role is {{.Role}}
This results in the following error message in the console: Template parse error: template: html:3: function "mixin" not defined
Any plans to implement mixins?
The text was updated successfully, but these errors were encountered:
I'm developing a simple mixin realization now but without support of mixin-blocks, attributes and rest arguments. I would implement it in a separate package if i decide to add its support.
To reproduce: use the example code in the
example/actions
directory & amend the template to the following:This results in the following error message in the console:
Template parse error: template: html:3: function "mixin" not defined
Any plans to implement mixins?
The text was updated successfully, but these errors were encountered: