1

cleanup bootstrap sample

This commit is contained in:
Alex Yatskov 2019-04-05 12:56:50 -07:00
parent 61a4b118e0
commit 375d54dfb3

View File

@ -22,7 +22,7 @@ import (
) )
func fixup(doc *goquery.Document) error { func fixup(doc *goquery.Document) error {
doc.Find("table").AddClass("table", "table-dark") doc.Find("table").AddClass("table").Find("thead").AddClass("thead-light")
doc.Find("blockquote").AddClass("blockquote") doc.Find("blockquote").AddClass("blockquote")
doc.Find("img[src*='thumb']").Each(func(i int, s *goquery.Selection) { doc.Find("img[src*='thumb']").Each(func(i int, s *goquery.Selection) {
thumbLink := s.ParentFiltered("a") thumbLink := s.ParentFiltered("a")