Use new character structure

This commit is contained in:
2018-03-27 05:25:25 +02:00
parent a1cfe624ae
commit fd6ab8eb02
9 changed files with 39 additions and 130 deletions

View File

@ -1,7 +1,7 @@
component Character(character *arn.Character)
a.character(href="/character/" + character.ID)
img.character-image.lazy(data-src=character.Image, alt=character.Name, title=character.Name)
img.character-image.lazy(data-src=character.ImageLink("medium"), alt=character.Name, title=character.Name)
component CharacterSmall(character *arn.Character)
a.character(href="/character/" + character.ID)
img.character-image.character-image-small.lazy(data-src=character.Image, alt=character.Name, title=character.Name)
img.character-image.character-image-small.lazy(data-src=character.ImageLink("small"), alt=character.Name, title=character.Name)