title: strange ejs syntax error
body: <p>I am new to <code>node.js</code>  and follow a blog to practice.But when i come to render a view as written in blog. I met some strange problems.</p>
  
  <p>I take <code>ejs</code> as view engine in <code>express</code> and <code>signup.ejs</code> like this</p>
  
  <pre><code>&lt;%- include('header') %&gt;
    &lt;div class="ui grid"&gt;
    &lt;div class="four wide column"&gt;&lt;/div&gt;
    &lt;div class="eight wide column"&gt;
     &lt;form class="ui form segment" method="post" enctype="multipart/form-data"&gt;
      &lt;div class="field required"&gt;
        &lt;label&gt;username&lt;/label&gt;
        &lt;input placeholder="username" type="text" name="name"&gt;
      &lt;/div&gt;
      &lt;div class="field required"&gt;
        &lt;label&gt;password&lt;/label&gt;
        &lt;input placeholder="password" type="password" name="password"&gt;
      &lt;/div&gt;
      &lt;div class="field required"&gt;
        &lt;label&gt;repeat password&lt;/label&gt;
        &lt;input placeholder="password" type="password" name="password"&gt;
      &lt;/div&gt;
      &lt;div class="field required"&gt;
        &lt;label&gt;sex&lt;/label&gt;
        &lt;select class="ui compact selection dropdown" name="gender"&gt;
          &lt;option&gt;m&lt;/option&gt;
          &lt;option&gt;f&lt;/option&gt;
          &lt;option&gt;x&lt;/option&gt;
        &lt;/select&gt;
      &lt;/div&gt;
      &lt;div class="field required"&gt;
        &lt;label&gt;avatar&lt;/label&gt;
        &lt;input type="file" name="avatar"&gt;
      &lt;/div&gt;
      &lt;div class="field required"&gt;
        &lt;label&gt;bio&lt;/label&gt;
        &lt;textarea name="bio" rows="5" v-model="user.bio"&gt;&lt;/textarea&gt;
      &lt;/div&gt;
    &lt;/form&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>when i run start my program and send a http request in path<code>localhost:3000/signup</code>,I get some mistakes </p>
  
  <pre><code>SyntaxError: 
  C:\Users\ct\Documents\mycode\nodestudy\formalblog\views\signup.ejs:1
   &gt;&gt; 1| &lt;%- include('header') %&gt;
      2| &lt;div class="ui grid"&gt;
      3|   &lt;div class="four wide column"&gt;&lt;/div&gt;
      4|   &lt;div class="eight wide column"&gt;
  
  C:\Users\ct\Documents\mycode\nodestudy\formalblog\views\header.ejs:13
      11|   &lt;body&gt;
      12|     &lt;%- include('components/nav') %&gt;
   &gt;&gt; 13|     &lt;%- include('components/nav-setting') %&gt;
      14|     &lt;%- include('components/notification') %&gt;
  Unexpected token if in         C:\Users\ct\Documents\mycode\nodestudy\formalblog\views\components\nav-setting.ejs while compiling ejs
  </code></pre>
  
  <p>I have checked the file path and my <code>node version is v7.2.0 for win</code> and <code>ejs version 2.5.6</code>. I have read the docs for ejs but i have no idea about the mistake info <code>syntax error</code>.</p>
  
  <p>update:  show content in <code>nav-setting.ejs</code>,thanks for remind me where mistake truely happen.</p>
  
  <pre><code>&lt;div class="nav-setting"&gt;
    &lt;div class="ui buttons"&gt;
      &lt;div class="ui floating dropdown button"&gt;
        &lt;i class="icon bars"&gt;&lt;/i&gt;
      &lt;div class="menu"&gt;
        &lt;%= if (user) { %&gt;
          &lt;a class="item" href="/posts?author=&lt;%= user._id %&gt;"&gt;index&lt;/a&gt;
          &lt;div class="divider"&gt;&lt;/div&gt;
           &lt;a class="item" href="/posts/create"&gt;post&lt;/div&gt;
           &lt;a class="item" href="/signout"&gt;logout&lt;/a&gt;
        &lt;% } else { %&gt;
           &lt;a class="item" href="/signin"&gt;login&lt;/a&gt;
           &lt;a class="item" href="/signup"&gt;signup&lt;/a&gt;
        &lt;% } %&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>