More page titles
This commit is contained in:
parent
e28b11c322
commit
137a2270df
@ -14,5 +14,5 @@ func Get(ctx *aero.Context) string {
|
|||||||
term := ctx.Query("q")
|
term := ctx.Query("q")
|
||||||
|
|
||||||
userResults, animeResults := arn.Search(term, maxUsers, maxAnime)
|
userResults, animeResults := arn.Search(term, maxUsers, maxAnime)
|
||||||
return ctx.HTML(components.SearchResults(userResults, animeResults))
|
return ctx.HTML(components.SearchResults(term, userResults, animeResults))
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,6 @@
|
|||||||
component SearchResults(users []*arn.User, animeResults []*arn.Anime)
|
component SearchResults(term string, users []*arn.User, animeResults []*arn.Anime)
|
||||||
|
h1.page-title= "Search: " + term
|
||||||
|
|
||||||
.widgets
|
.widgets
|
||||||
.widget
|
.widget
|
||||||
h3 Users
|
h3 Users
|
||||||
|
Loading…
Reference in New Issue
Block a user