Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Add LabelEl (#180) | Markus Wüstenberg | 2024-06-25 | -1/+2 |
| | | | | | | For consistency with the other name clashes. Also, adjust the readme. I know it's a bit weird to add a pre-deprecated function, but know it's the same as the other functions. | |||
* | Adjust documentation on Iff (#179) | Markus Wüstenberg | 2024-06-25 | -1/+1 |
| | ||||
* | Fix readme | Markus Wüstenberg | 2024-06-06 | -5/+6 |
| | ||||
* | Revert "Add Marquee element promotion to readme" | Markus Wüstenberg | 2024-04-29 | -2/+0 |
| | | | | This reverts commit b33f84310916b238af0006fb151a4b980721bc33. | |||
* | Add Marquee element promotion to readme | Markus Wüstenberg | 2024-03-13 | -0/+2 |
| | ||||
* | Just call it HTML components in readme | Markus Wüstenberg | 2024-03-12 | -3/+3 |
| | ||||
* | Move logo in readme | Markus Wüstenberg | 2024-01-12 | -2/+2 |
| | ||||
* | Fix logo size in readme | Markus Wüstenberg | 2024-01-12 | -1/+1 |
| | ||||
* | Add logo to readme | Markus Wüstenberg | 2024-01-12 | -0/+2 |
| | ||||
* | Document Text/Textf helpers better | Markus Wüstenberg | 2023-05-11 | -2/+4 |
| | | | | | | Both in the readme and package doc. Fixes #133. | |||
* | Rename master branch to main (#117) | Markus Wüstenberg | 2022-11-15 | -1/+1 |
| | ||||
* | Add Go report card to readme (#111) | Markus Wüstenberg | 2022-10-17 | -1/+2 |
| | | | Also fix godoc badge to point to pkg.go.dev. | |||
* | Fix CI badge in Readme (#100) | Markus Wüstenberg | 2022-05-25 | -1/+1 |
| | ||||
* | Add link to maragu.dk and golang.dk in readme | Markus Wüstenberg | 2021-06-18 | -0/+2 |
| | ||||
* | Add Github action status badge to readme | Markus Wüstenberg | 2021-06-18 | -0/+1 |
| | ||||
* | Update readme with content from website (#73) | Markus Wüstenberg | 2021-05-07 | -8/+8 |
| | ||||
* | Fix code in readme (#69) | Markus Wüstenberg | 2021-05-05 | -3/+3 |
| | | | Broken in #66. | |||
* | Add data- attribute helper (#61) | Markus Wüstenberg | 2020-12-22 | -1/+2 |
| | | | Fixes #49. | |||
* | Simplify available elements (#55) | Markus Wüstenberg | 2020-12-10 | -2/+2 |
| | | | | | | | `a`, `form`, `img`, `input`, `label`, `option`, `progress`, `select`, and `textarea` are now just regular elements (without helper parameters), because: - Sometimes the use case doesn't fit (`a` as anchor without href, for example) - There's no reason these are special among the others, so streamlining them makes sense Also added new attributes `action`, `alt`, `for`, `method` that I had somehow missed. | |||
* | Rename Document to Doctype (#54) | Markus Wüstenberg | 2020-12-10 | -4/+4 |
| | ||||
* | Move elements and attributes into html package (#52) | Markus Wüstenberg | 2020-12-10 | -50/+66 |
| | | | | | This makes it easier to use dot-imports. Also updated the readme and examples with new usage, and move the `Classes` helper into the `components` package. | |||
* | Render correct HTML5 (#44) | Markus Wüstenberg | 2020-11-16 | -3/+3 |
| | | | | | | | | | Previously, elements of kind void and empty elements generally would be rendered auto-closing (with a final `/` character in the start tag), which is allowed sometimes but arguably wrong. See https://dev.w3.org/html5/spec-LC/syntax.html#end-tags This created problems with for example `textarea` and `script`, which cannot be auto-closing, or the browser renders it wrong. Also clarified in the docs that this library outputs HTML5. Fixes #42. | |||
* | Add package docs (#41) | Markus Wüstenberg | 2020-11-02 | -0/+10 |
| | | | Also update readme with features. | |||
* | Render to Writer instead of string (#39) | Markus Wüstenberg | 2020-11-02 | -2/+2 |
| | | | | | | | The Render function has been changed to take a `Writer` instead of returning a string. This makes it possible to generate documents without having the whole content in memory. This also removes the `gomponents.Write` function, which is now redundant. Furthermore, the `el.Document` function has been changed to only take one child, as multiple children never make sense for it. (It's not even a child, more a sibling.) | |||
* | Add HTML5 document template (#36) | Markus Wüstenberg | 2020-10-29 | -0/+46 |
| | ||||
* | Remove "fmt" import in readme example (#31) | Hans Raaf | 2020-10-23 | -1/+0 |
| | | | Also style menu in simple example slightly. | |||
* | Update readme with blog post link (#23) | Markus Wüstenberg | 2020-09-25 | -1/+4 |
| | ||||
* | Add Textf function (#17) | Markus Wüstenberg | 2020-09-23 | -1/+1 |
| | | | Like Text, but calls fmt.Sprintf before rendering. | |||
* | Add better example in readme (#16) | Markus Wüstenberg | 2020-09-23 | -6/+33 |
| | ||||
* | Add simple example (#13) | Markus Wüstenberg | 2020-09-21 | -0/+33 |
| | ||||
* | Try out codecov.io (#5) | Markus Wüstenberg | 2020-09-18 | -0/+1 |
| | ||||
* | Add godoc link to readme (#2) | Markus Wüstenberg | 2020-09-14 | -1/+3 |
| | ||||
* | Add first implementation of Node, El, Attr, Text | Markus Wüstenberg | 2020-09-13 | -0/+8 |