1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 pagination := hb.Nav(). Attr("aria-label", "Page navigation"). Child(hb.UL(). Class("pagination justify-content-center"). Child( hb.LI(). Class("page-item"). Child(hb.Hyperlink().Class("page-link").Href("#").Attr("aria-label", "Previous"). Child(hb.Span().Attr("aria-hidden", "true").HTML("«")))). Child( hb.LI().Class("page-item active").Child(hb.Hyperlink().Class("page-link").HTML("1"))). Child( hb.LI().Class("page-item").Child(hb.Hyperlink().Class("page-link").HTML("2"))). Child( hb.LI().Class("page-item").Child(hb.Hyperlink().Class("page-link").HTML("3"))). Child( hb.LI(). Class("page-item"). Child(hb.Hyperlink().Class("page-link").Href("#").Attr("aria-label", "Next"). Child(hb.Span().Attr("aria-hidden", "true").HTML("»")))))