Minor changes
This commit is contained in:
@ -1,7 +1,6 @@
|
|||||||
package recommended
|
package recommended
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"math"
|
"math"
|
||||||
"net/http"
|
"net/http"
|
||||||
"sort"
|
"sort"
|
||||||
@ -63,8 +62,6 @@ func Anime(ctx *aero.Context) string {
|
|||||||
bestGenres = bestGenres[:bestGenreCount]
|
bestGenres = bestGenres[:bestGenreCount]
|
||||||
}
|
}
|
||||||
|
|
||||||
fmt.Println(bestGenres)
|
|
||||||
|
|
||||||
// Get all anime
|
// Get all anime
|
||||||
var tv []*arn.Anime
|
var tv []*arn.Anime
|
||||||
var movies []*arn.Anime
|
var movies []*arn.Anime
|
||||||
|
@ -21,7 +21,7 @@ component SettingsPersonal(user *arn.User)
|
|||||||
InputText("Nick", user.Nick, "Username", "Your username on notify.moe")
|
InputText("Nick", user.Nick, "Username", "Your username on notify.moe")
|
||||||
InputText("Tagline", user.Tagline, "Tagline", "Text that appears below your username")
|
InputText("Tagline", user.Tagline, "Tagline", "Text that appears below your username")
|
||||||
InputText("Website", user.Website, "Website", "Your homepage")
|
InputText("Website", user.Website, "Website", "Your homepage")
|
||||||
|
|
||||||
if arn.IsDevelopment()
|
if arn.IsDevelopment()
|
||||||
InputTextArea("Introduction", user.Introduction, "Introduction", "Tell us about yourself (Markdown is allowed)")
|
InputTextArea("Introduction", user.Introduction, "Introduction", "Tell us about yourself (Markdown is allowed)")
|
||||||
|
|
||||||
|
1
tests.go
1
tests.go
@ -344,6 +344,7 @@ var routeTests = map[string][]string{
|
|||||||
"/anime/:id/edit": nil,
|
"/anime/:id/edit": nil,
|
||||||
"/new/thread": nil,
|
"/new/thread": nil,
|
||||||
"/admin/purchases": nil,
|
"/admin/purchases": nil,
|
||||||
|
"/explore/sequels": nil,
|
||||||
"/editor/anilist": nil,
|
"/editor/anilist": nil,
|
||||||
"/editor/shoboi": nil,
|
"/editor/shoboi": nil,
|
||||||
"/dark-flame-master": nil,
|
"/dark-flame-master": nil,
|
||||||
|
Reference in New Issue
Block a user