about summary refs log tree commit diff stats
path: root/components/elements.go
Commit message (Collapse)AuthorAgeLines
* Delete low-value helper components (#115)Markus Wüstenberg2022-11-03-18/+0
| | | | I'd rather reserve the package for components that have proven repeatedly useful, like `Classes` and `HTML5`.
* Add LinkStylesheet and LinkPreload components (#79)Markus Wüstenberg2021-06-08-0/+8
| | | These are often used in the `<head>` part of the HTML.
* Return Node from all helpers instead of NodeFunc (#62)Markus Wüstenberg2021-01-07-1/+1
| | | | | This makes it clearer that the helpers return a `Node` of any kind, and that the type is not important. This also streamlines the API, as attribute helpers already return just `Node`.
* Add If helper function (#57)Markus Wüstenberg2020-12-22-0/+10
Used to inline conditional nodes.