From b5103c106ea89538b3563e3b6d4258bbaf046bed Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Mon, 13 Apr 2020 23:33:31 -0600 Subject: [PATCH] Hyperlink site title to home page --- front/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/server.go b/front/server.go index 678467d..8eb1aa5 100644 --- a/front/server.go +++ b/front/server.go @@ -312,7 +312,7 @@ func (h *handler) writePage(w io.Writer, contents hm.Term) error { e.Title()(hm.Text(h.title)), ), e.Body()( - e.H1()(hm.Text(h.title)), + e.H1()(e.A(a.Href(h.baseURL+pathRoot))(hm.Text(h.title))), e.Div()(contents), ), )