From 105cf0d12857db4b92cc68e8749bcd0b2010abb4 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 23 Nov 2016 23:39:20 +0900 Subject: [PATCH] External links icon --- pages/anime/anime.pixy | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/anime/anime.pixy b/pages/anime/anime.pixy index 90f5f8ee..1d7cf1e1 100644 --- a/pages/anime/anime.pixy +++ b/pages/anime/anime.pixy @@ -111,10 +111,14 @@ component Anime(anime *arn.Anime) .light-button-group if anime.Links != nil each link in anime.Links - a.light-button(href=link.URL, target="_blank")= link.Title + a.light-button(href=link.URL, target="_blank") + Icon("external-link") + span= link.Title if anime.CreatedBy == "" - a.light-button(href="https://anilist.co/anime/" + toString(anime.ID), target="_blank") AniList + a.light-button(href="https://anilist.co/anime/" + toString(anime.ID), target="_blank") + Icon("external-link") + span AniList //- if providers.HummingBird //- a.light-button(href="https://hummingbird.me/anime/" + providers.HummingBird.providerId, target="_blank") HummingBird