Added season links

This commit is contained in:
Eduard Urbach 2018-04-17 02:43:44 +02:00
parent 1daceaee7f
commit 9eae7ebce5

View File

@ -229,7 +229,8 @@ component AnimeInformation(anime *arn.Anime)
if anime.Season() != ""
tr.mountable(data-mountable-type="info")
td.anime-info-key Season:
td.anime-info-value= arn.Capitalize(anime.Season()) + " " + anime.StartDate[:4]
td.anime-info-value
a(href="/explore/anime/" + anime.StartDate[:4] + "/" + strings.ToLower(anime.Season()) + "/any/" + anime.Type)= arn.Capitalize(anime.Season()) + " " + anime.StartDate[:4]
if anime.Source != "" && arn.AnimeSourceHumanReadable[anime.Source] != ""
tr.mountable(data-mountable-type="info")