Skip to content

Conditional render #145

Answered by creazy231
lapenji asked this question in Q&A
Sep 3, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

related to this post on https://stackoverflow.com/questions/8548943/how-to-handle-an-if-statement-in-a-mustache-template it should be possible using

{{#value}}
  value is true
{{/value}}
{{^value}}
  value is false
{{/value}}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lapenji
Comment options

Answer selected by lapenji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants