diff --git a/main.go b/main.go index 846a8217..56ef932d 100644 --- a/main.go +++ b/main.go @@ -25,7 +25,7 @@ type Category struct { Title string Slug string Description string - Items []Link + Links []Link } // Source files @@ -254,7 +254,7 @@ func makeCategoryByID(selector string, doc *goquery.Document) (*Category, error) Slug: slug.Generate(selCatHeader.Text()), Title: selCatHeader.Text(), Description: selDescr.Text(), - Items: links, + Links: links, } return true diff --git a/tmpl/cat-tmpl.html b/tmpl/cat-tmpl.html index 614f42d7..15633f44 100644 --- a/tmpl/cat-tmpl.html +++ b/tmpl/cat-tmpl.html @@ -81,7 +81,7 @@ 🗺️ back to content menu