From 4f405a3a3c7e4b9c635d55394c821a62d02e4c60 Mon Sep 17 00:00:00 2001 From: Ian Kent Date: Sun, 20 Apr 2014 20:17:48 +0100 Subject: [PATCH] Only show first subject header --- mailhog/templates/index.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mailhog/templates/index.go b/mailhog/templates/index.go index 1eba044..eb69b96 100644 --- a/mailhog/templates/index.go +++ b/mailhog/templates/index.go @@ -71,7 +71,7 @@ func Index() string { - {{ message.Content.Headers.Subject }} + {{ message.Content.Headers.Subject.0 }} {{ date(message.Created) }}