title: Go templates: How do I access array item (arr[2]) in templates?
body: <p>How do I access an array item (e.g. a[2]) in templates?</p>
  
  <p>Whenever I do this I get "bad character U+005B '['"</p>
  
  <pre><code>{{ .a[2] }}
  </code></pre>