Added anilist links on character pages
This commit is contained in:
@ -128,6 +128,11 @@ component CharacterSidebar(character *arn.Character, friends []*arn.User, releva
|
||||
Icon("exclamation-triangle")
|
||||
span Error: No MAL ID
|
||||
|
||||
if character.GetMapping("anilist/character") != ""
|
||||
a.light-button(href="https://anilist.co/character/" + character.GetMapping("anilist/character"), target="_blank", rel="noopener")
|
||||
Icon("external-link")
|
||||
span AniList
|
||||
|
||||
a.light-button(href="/api" + character.Link(), target="_blank")
|
||||
Icon("code")
|
||||
span API
|
||||
|
Reference in New Issue
Block a user