🐛 Hide the Quotes title if there is no quotes in the character page.

This commit is contained in:
Scott 2018-01-26 11:30:26 +01:00
parent e009c30b20
commit 7f10bee755

View File

@ -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