2017-07-13 06:23:20 +00:00
|
|
|
component CharacterDetails(character *arn.Character)
|
2017-11-12 12:41:19 +00:00
|
|
|
.character-page
|
|
|
|
.character-header
|
|
|
|
.character-image-container
|
|
|
|
img.character-image-fullsize(src=character.Image, alt=character.Name)
|
|
|
|
.character-description-container
|
|
|
|
h1.character-name= character.Name
|
|
|
|
.anime-alternative-title
|
|
|
|
Japanese("日本語の名前無し")
|
|
|
|
.character-description!= markdown.Render(character.Description)
|
|
|
|
|
|
|
|
if len(character.Attributes) > 0
|
|
|
|
.character-sidebar
|
|
|
|
h3 Information
|
|
|
|
table.character-attributes
|
|
|
|
each attribute in character.Attributes
|
|
|
|
tr.mountable(data-mountable-type="info")
|
|
|
|
td.character-attributes-name= attribute.Name + ":"
|
|
|
|
td.character-attributes-value= attribute.Value
|
2017-11-12 11:44:29 +00:00
|
|
|
|