Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | Add Group function to group Nodes (#29) | Markus Wüstenberg | 2020-10-22 | -43/+78 | |
| | |||||
* | Update package doc for gomponents (#28) | Markus Wüstenberg | 2020-10-21 | -1/+1 | |
| | |||||
* | Use HTMLEscapeString in Textf (#27) | Markus Wüstenberg | 2020-10-21 | -1/+1 | |
| | |||||
* | Add remaining sectioning elements as helpers (#25) | Markus Wüstenberg | 2020-09-25 | -0/+105 | |
| | | | Fixes #22. | ||||
* | Use HTMLEscapeString (#24) | Markus Wüstenberg | 2020-09-25 | -1/+1 | |
| | | | HTMLEscaper is not needed with strings. | ||||
* | Update readme with blog post link (#23) | Markus Wüstenberg | 2020-09-25 | -1/+4 | |
| | |||||
* | Group element helpers in different files (#21) | Markus Wüstenberg | 2020-09-25 | -302/+368 | |
| | | | According to the section at https://developer.mozilla.org/en-US/docs/Web/HTML/Element | ||||
* | Add space before auto-closing element (#20) | Markus Wüstenberg | 2020-09-24 | -30/+30 | |
| | |||||
* | Add convenience helpers for form elements (#19) | Markus Wüstenberg | 2020-09-24 | -3/+148 | |
| | |||||
* | Introduce Placer interface (#18) | Markus Wüstenberg | 2020-09-24 | -8/+57 | |
| | | | | | When implemented, the `Place` method of the `Placer` interface tells `Render` in `El` where to put a Node. This is relevant for helpers that want to be rendered like attributes, inside the parent element. Fixes the bug where `attr.Classes` was rendered outside the element. | ||||
* | Add Textf function (#17) | Markus Wüstenberg | 2020-09-23 | -1/+15 | |
| | | | Like Text, but calls fmt.Sprintf before rendering. | ||||
* | Add better example in readme (#16) | Markus Wüstenberg | 2020-09-23 | -7/+34 | |
| | |||||
* | Add children varargs to h1-6, b, strong, i, em, img helpers (#15) | Markus Wüstenberg | 2020-09-23 | -33/+35 | |
| | | | This makes it possible to add attributes. | ||||
* | Make attr.Classes a map type (#14) | Markus Wüstenberg | 2020-09-23 | -7/+22 | |
| | | | This makes the usage syntax prettier. Instead of `attr.Classes(map[string]bool{})`, we can just use `attr.Classes{}`. | ||||
* | Add simple example (#13) | Markus Wüstenberg | 2020-09-21 | -0/+103 | |
| | |||||
* | Add a test for attr.String (#12) | Markus Wüstenberg | 2020-09-21 | -0/+9 | |
| | |||||
* | Add a Write function (#11) | Markus Wüstenberg | 2020-09-21 | -0/+37 | |
| | |||||
* | Add a lot of common elements (#10) | Markus Wüstenberg | 2020-09-21 | -0/+216 | |
| | | | Especially add elements that are either used in every document, that nearly always have text content, or that are almost always used with certain attributes. | ||||
* | Don't render twice with children (#9) | Markus Wüstenberg | 2020-09-21 | -4/+3 | |
| | |||||
* | Add package el with element helpers (#8) | Markus Wüstenberg | 2020-09-18 | -0/+80 | |
| | |||||
* | Add package attr with attribute helpers (#7) | Markus Wüstenberg | 2020-09-18 | -0/+64 | |
| | |||||
* | Make NodeFunc and attr implement fmt.Stringer (#6) | Markus Wüstenberg | 2020-09-18 | -15/+43 | |
| | |||||
* | Try out codecov.io (#5) | Markus Wüstenberg | 2020-09-18 | -1/+5 | |
| | |||||
* | Add Makefile (#4) | Markus Wüstenberg | 2020-09-18 | -0/+12 | |
| | |||||
* | Create codeql-analysis.yml (#3) | Markus Wüstenberg | 2020-09-15 | -0/+66 | |
| | |||||
* | Add godoc link to readme (#2) | Markus Wüstenberg | 2020-09-14 | -1/+3 | |
| | |||||
* | Add package documentation (#1) | Markus Wüstenberg | 2020-09-14 | -0/+7 | |
| | |||||
* | Add first implementation of Node, El, Attr, Text | Markus Wüstenberg | 2020-09-13 | -0/+264 | |