# Names, aliases, mustache lambdas

Is there a way to mangle the value of variables in mustache via some sort of function?

Also, in the specific case of tags, I saw that there are two variables: {{name}} and {{tag}}. According to the doco {{name}} is an "Alias for tag". So can I somehow tweak how this alias is generated, say always cut of "cat-" from its value if the value always starts with "cat-"?

(*) But I'm not sure whether the other question "drowned", because I myself had added a comment which appears as an answer...

1 replies

Yes! I would use javascript to accomplish this