diff --git a/internal/conf/templates/base.tmpl.html b/internal/conf/templates/base.tmpl.html index 6d776ff..f327789 100644 --- a/internal/conf/templates/base.tmpl.html +++ b/internal/conf/templates/base.tmpl.html @@ -76,7 +76,7 @@ -
+

{{template "title" .}}

diff --git a/internal/notes/views/views.go b/internal/notes/views/views.go index 0a041d0..8616c27 100644 --- a/internal/notes/views/views.go +++ b/internal/notes/views/views.go @@ -141,7 +141,6 @@ func save(w http.ResponseWriter, r *http.Request) { title := r.FormValue("title") body := r.FormValue("body") - log.Printf("About to save to note %+v", note) note.Title = title note.Body = []byte(body) note.Save()