- include "Resources" in category page rendering

This commit is contained in:
Benjamin Schoch 2022-08-30 16:09:19 +02:00 committed by Avelino
parent 8b0532228a
commit 9302935703

View File

@ -41,7 +41,7 @@ func main() {
} }
objs := make(map[string]*Object) objs := make(map[string]*Object)
query.Find("body #content ul ul").First().Each(func(_ int, s *goquery.Selection) { query.Find("body #contents").NextFiltered("ul").Find("ul").Each(func(_ int, s *goquery.Selection) {
s.Find("li a").Each(func(_ int, s *goquery.Selection) { s.Find("li a").Each(func(_ int, s *goquery.Selection) {
selector, exists := s.Attr("href") selector, exists := s.Attr("href")
if !exists { if !exists {