diff --git a/pages/animelist/animelist.scarlet b/pages/animelist/animelist.scarlet index 2b075f02..eabbfdb2 100644 --- a/pages/animelist/animelist.scarlet +++ b/pages/animelist/animelist.scarlet @@ -29,6 +29,7 @@ .anime-list-item-name flex 1 margin 0.5rem 1rem + padding 0 clip-long-text a diff --git a/pages/episode/episode.pixy b/pages/episode/episode.pixy index 0e6a9150..7c658869 100644 --- a/pages/episode/episode.pixy +++ b/pages/episode/episode.pixy @@ -6,7 +6,9 @@ component AnimeEpisode(anime *arn.Anime, episode *arn.AnimeEpisode, user *arn.Us if validator.IsValidDate(episode.AiringDate.Start) .utc-airing-date(data-start-date=episode.AiringDate.Start, data-end-date=episode.AiringDate.End, data-episode-number=episode.Number)= episode.AiringDate.StartDateHuman() - ul - for _, link := range episode.Links - a(href=link, title="Watch episode " + strconv.Itoa(episode.Number), target="_blank", rel="noopener") - RawIcon("eye") \ No newline at end of file + + if user != nil + ul + for _, link := range episode.Links + a(href=link, title="Watch episode " + strconv.Itoa(episode.Number), target="_blank", rel="noopener") + RawIcon("eye") \ No newline at end of file