mirror of
https://github.com/avelino/awesome-go.git
synced 2024-12-12 17:13:58 +00:00
- include "Resources" in category page rendering
This commit is contained in:
parent
8b0532228a
commit
9302935703
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user