🐛 Hide the Quotes title if there is no quotes in the character page.
This commit is contained in:
parent
e009c30b20
commit
7f10bee755
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user