🐛 Hide the Quotes title if there is no quotes in the character page.
This commit is contained in:
parent
e009c30b20
commit
7f10bee755
@ -15,6 +15,7 @@ component CharacterDetails(character *arn.Character, characterAnime []*arn.Anime
|
|||||||
each anime in characterAnime
|
each anime in characterAnime
|
||||||
a.character-anime-item.ajax(href=anime.Link(), title=anime.Title.ByUser(user))
|
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))
|
img.character-anime-item-image.lazy(data-src=anime.Image("small"), data-webp="true", alt=anime.Title.ByUser(user))
|
||||||
|
if len(quotes) >0
|
||||||
h3 Quotes
|
h3 Quotes
|
||||||
.character-quotes
|
.character-quotes
|
||||||
each quote in quotes
|
each quote in quotes
|
||||||
|
Loading…
Reference in New Issue
Block a user