21 lines
316 B
Go
21 lines
316 B
Go
package main
|
|
|
|
import (
|
|
h "gitlab.codemonkeysoftware.com/b/hatmill"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
document := h.Html()(
|
|
h.Head()(),
|
|
h.Body()(
|
|
h.Div()(
|
|
h.Img(h.Src("./me.jpg"), h.Id("profile-photo")),
|
|
h.Text("hello hatmill!"),
|
|
h.Div(h.Disabled())(),
|
|
),
|
|
),
|
|
)
|
|
h.WriteDocument(os.Stdout, document)
|
|
}
|