Svelte If Statements

If statements in Svelte make it easy to control whether or not content is displayed in your application. Here is a quick reference on how to use them

1<div>{#if condition} Display this content if true {/if}</div>

To display the content inside of the if statement, set the variable to true somewhere in your article.