title: How can I use if statement in ejs?
body: <p>I have a page that makes a foreach and show some photos like this</p>
  
  <pre><code>&lt;% imgs.forEach(function(img) { %&gt;
        &lt;img src="uploads/&lt;%=user.username%&gt;/screenshots/&lt;%= img %&gt;"&gt;
   &lt;% }); %&gt;
  </code></pre>
  
  <p>And I want make a if statement because, in case that not photos to show gives a message like this:</p>
  
  <blockquote>
    <p>"no photos uploaded"</p>
  </blockquote>