package templates import ( "fmt" "mal/integrations/jikan" components "mal/web/components" "mal/web/shared" "mal/web/shared/layout" ) templ StudioDetails(producer jikan.ProducerResponse, animes []jikan.Anime, watchlistStatuses map[int]string, hasNext bool, nextPage int) { @layout.Layout("mal - "+shared.GetProducerName(producer), true) {
Established: { shared.FormatEstablishedDate(producer.Data.Established) }
} if producer.Data.Count > 0 {{ fmt.Sprintf("%d anime", producer.Data.Count) }
}{ producer.Data.About }
}