Skip to content

Instantly share code, notes, and snippets.

@kimonoki
Created February 23, 2018 11:17
Show Gist options
  • Save kimonoki/e09cf3055497ab08d7370c35dab24248 to your computer and use it in GitHub Desktop.
Save kimonoki/e09cf3055497ab08d7370c35dab24248 to your computer and use it in GitHub Desktop.
ejs if else conditionals
if
<% if(...) { %> xxx <% } %>
if else
<% if(...) { %> xxx <% } else { %> xxx <% } %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment