25 lines
855 B
Plaintext
Raw Normal View History

2017-07-13 08:23:20 +02:00
component CharacterDetails(character *arn.Character)
2017-11-12 13:41:19 +01: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 + ":"
2017-11-12 13:48:21 +01:00
if strings.Contains(attribute.Value, "<")
td.character-attributes-value!= markdown.Render(attribute.Value)
else
td.character-attributes-value= attribute.Value
2017-11-12 12:44:29 +01:00