Use first element in header

This commit is contained in:
Martin Polden 2012-11-25 22:13:32 +01:00
parent a03c16dfd8
commit 0f33287ed9
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@
{{ range $key, $value := .Header }}
<tr>
<td><code><span class="command">curl</span> ifconfig.co/{{ ToLower $key }}</code></td>
<td class="response">{{ index $self.Header $key }}</td>
<td class="response">{{ index $self.Header $key 0 }}</td>
</tr>
{{end}}
{{end}}