From 0a22962dd377231c0f88957f362c35682b78ffe7 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Mon, 23 Apr 2018 14:30:05 +0200 Subject: [PATCH] Minor style improvement --- pages/character/character.pixy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pages/character/character.pixy b/pages/character/character.pixy index bdb6bf69..ae434db5 100644 --- a/pages/character/character.pixy +++ b/pages/character/character.pixy @@ -20,11 +20,16 @@ component CharacterDetails(character *arn.Character, characterAnime []*arn.Anime RawIcon("pencil") .character-description-container - h1.character-name.mountable= character.Name.Canonical + if character.Name.Canonical == "" + h1.character-name.mountable untitled + else + h1.character-name.mountable= character.Name.Canonical .anime-alternative-title.mountable if character.Name.Japanese != "" Japanese(character.Name.Japanese) + else + Japanese("日本語の名前無し") if mainQuote != nil .character-quote