I would like to insert a
special character between two element.
e.g, after the i
tag defined like this:
%i.icon-off
How can I do that?
Based on your comments in the other answer, here are a few different ways I'd write this:
i.icon-off
| #{t "menu.logout"}
Note the extra space before '#'. The one right after the '|' is optional and gets ignored if present so you have to use one more.
Could also write
i.icon-off
| {{t "menu.logout"}}
I finally found the way:
%i.icon-off
|
t "menu.logout"
But in other simpler cases, you can also use:
i.icon-off