cleanup bootstrap sample
This commit is contained in:
parent
61a4b118e0
commit
375d54dfb3
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user