title: Error: "invalid type for comparison" in revel template
body: <p>After creating multple endpoints customizing footer.html, I end up with this error for not apparent this don't effect the functionally of the application, just annoying me. 
   Tried: </p>
  
  <pre><code>  revel run revel_app or dev
  </code></pre>
  
  <p>Revel Template Execution Error</p>
  
  <p>: executing "footer.html" at : error calling eq: invalid type for comparison.</p>
  
  <pre><code>  {{if eq .RunMode "dev"}}
  
    {{template "debug.html" .}}
  
    {{end}}
   &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>