This commit is contained in:
Jarmo Riikonen
2018-07-03 16:33:35 +03:00
parent a45b259839
commit ed58f31ba2
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,6 @@
component Genre(genre string, animes []*arn.Anime, user *arn.User, userScore float64)
h1(title=fmt.Sprint(len(animes)) + " anime")= strings.Title(genre)
if user != nil
h2= fmt.Sprintf("%.1f", userScore)