From 7f10bee755b8fe616e40e017fb4fbbdacd6fb625 Mon Sep 17 00:00:00 2001 From: Scott Date: Fri, 26 Jan 2018 11:30:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Hide=20the=20Quotes=20title=20if?= =?UTF-8?q?=20there=20is=20no=20quotes=20in=20the=20character=20page.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/character/character.pixy | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pages/character/character.pixy b/pages/character/character.pixy index b2af09a1..53adfcda 100644 --- a/pages/character/character.pixy +++ b/pages/character/character.pixy @@ -15,10 +15,11 @@ component CharacterDetails(character *arn.Character, characterAnime []*arn.Anime each anime in characterAnime a.character-anime-item.ajax(href=anime.Link(), title=anime.Title.ByUser(user)) img.character-anime-item-image.lazy(data-src=anime.Image("small"), data-webp="true", alt=anime.Title.ByUser(user)) - h3 Quotes - .character-quotes - each quote in quotes - Quote(quote) + if len(quotes) >0 + h3 Quotes + .character-quotes + each quote in quotes + Quote(quote) if len(character.Attributes) > 0 .character-sidebar