We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I was trying to use a -blocktrans with stuff=thing and use the variables inside. Relevant snippet:
-blocktrans with stuff=thing
-block header_description if collection.tracks|length > 1 -blocktrans with trackscount=collection.tracks|length kind=collection.get_kind_display | #{trackscount}-tracks #{kind} else | #{collection.get_kind_display|title} br/ | released #{collection.date|date:"SHORT_DATE_FORMAT"}
I was expecting to get this:
But I got this:
I fixed it by using
{{trackscount}}-tracks {{kind}}
instead of
#{trackscount}-tracks #{kind}
I wish we could use pug's syntax tho, as my syntax highlighter does not understand plain django syntax inside pug files
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
I was trying to use a
-blocktrans with stuff=thing
and use the variables inside.Relevant snippet:
I was expecting to get this:
But I got this:
I fixed it by using
instead of
#{trackscount}-tracks #{kind}
I wish we could use pug's syntax tho, as my syntax highlighter does not understand plain django syntax inside pug files
The text was updated successfully, but these errors were encountered: