From 84f255f66b1088c0fa4e4f73cefdc42b3d8947f0 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Tue, 27 Mar 2018 12:32:56 +0200 Subject: [PATCH] Minor changes --- pages/recommended/anime.go | 3 --- pages/settings/settings.pixy | 2 +- tests.go | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pages/recommended/anime.go b/pages/recommended/anime.go index 0ae74fed..b768a5e5 100644 --- a/pages/recommended/anime.go +++ b/pages/recommended/anime.go @@ -1,7 +1,6 @@ package recommended import ( - "fmt" "math" "net/http" "sort" @@ -63,8 +62,6 @@ func Anime(ctx *aero.Context) string { bestGenres = bestGenres[:bestGenreCount] } - fmt.Println(bestGenres) - // Get all anime var tv []*arn.Anime var movies []*arn.Anime diff --git a/pages/settings/settings.pixy b/pages/settings/settings.pixy index 77934d6d..cba5c1dc 100644 --- a/pages/settings/settings.pixy +++ b/pages/settings/settings.pixy @@ -21,7 +21,7 @@ component SettingsPersonal(user *arn.User) InputText("Nick", user.Nick, "Username", "Your username on notify.moe") InputText("Tagline", user.Tagline, "Tagline", "Text that appears below your username") InputText("Website", user.Website, "Website", "Your homepage") - + if arn.IsDevelopment() InputTextArea("Introduction", user.Introduction, "Introduction", "Tell us about yourself (Markdown is allowed)") diff --git a/tests.go b/tests.go index 1148c423..b76ca620 100644 --- a/tests.go +++ b/tests.go @@ -344,6 +344,7 @@ var routeTests = map[string][]string{ "/anime/:id/edit": nil, "/new/thread": nil, "/admin/purchases": nil, + "/explore/sequels": nil, "/editor/anilist": nil, "/editor/shoboi": nil, "/dark-flame-master": nil,