It's difficult to get around php if () {} statements when mixed with markup, so using if () : endif; syntax instead.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9340 d957f892-c61d-0410-b221-f235e6eecf30