Hyperlink site title to home page

This commit is contained in:
Brandon Dyck 2020-04-13 23:33:31 -06:00
parent f9b1ddeb5f
commit b5103c106e

View File

@ -312,7 +312,7 @@ func (h *handler) writePage(w io.Writer, contents hm.Term) error {
e.Title()(hm.Text(h.title)), e.Title()(hm.Text(h.title)),
), ),
e.Body()( e.Body()(
e.H1()(hm.Text(h.title)), e.H1()(e.A(a.Href(h.baseURL+pathRoot))(hm.Text(h.title))),
e.Div()(contents), e.Div()(contents),
), ),
) )