How to get a field by index in template?
<p>I send a slice of <code>articles</code> into template. Each <code>article</code>struct is like:</p>

<pre><code>type Article struct {
    ID        uint32        `db:"id" bson:"id,omitempty"` 
    Content   string        `db:"content" bson:"content"`
    Author    string        `db:"author" bson:"author"`
    ... 
}
</code></pre>

<p>I can loop over <code>articles</code> slice in a <code>{{range $n := articles}}</code> and get each <code>{{$n.Content}}</code> but what I want is to have only the first one (outside the range loop) to use in headline. 
What I tried is:</p>

<pre><code>{{index .articles.Content 0}}
</code></pre>

<p>But  I get:</p>

<blockquote>
  <p>Template File Error: template: articles_list.tmpl:14:33: executing
  "content" at &lt;.articles.Content>: can't evaluate field Content in type
  interface {}</p>
</blockquote>

<p>If I just invoke </p>

<pre><code>{{index .articles 0}}
</code></pre>

<p>It shows the whole article[0] object.</p>

<p>How can I fix this?</p>