Minor changes

This commit is contained in:
Eduard Urbach 2018-03-09 02:34:50 +01:00
parent 51c3dcae20
commit 9512c0b7ee
2 changed files with 6 additions and 4 deletions

View File

@ -19,8 +19,6 @@ const (
)
func main() {
defer arn.Node.Close()
// Filter anime with MAL ID
animes := []*arn.Anime{}
@ -36,6 +34,9 @@ func main() {
color.Yellow("Found %d anime", len(animes))
// We don't need the database anymore
arn.Node.Close()
// Create crawler
malCrawler := crawler.New(
map[string]string{

View File

@ -3,8 +3,9 @@ component AdminTabs
Tab("Server", "server", "/admin")
Tab("WebDev", "html5", "/admin/webdev")
Tab("Purchases", "shopping-cart", "/admin/purchases")
a.tab.ajax(href="/editor", aria-label="Editor")
.corner-buttons
a.button.ajax(href="/editor", aria-label="Editor")
Icon("pencil")
span.tab-text Editor