diff --git a/internal/denote/denote.go b/internal/denote/denote.go index dcd4a16..747edff 100644 --- a/internal/denote/denote.go +++ b/internal/denote/denote.go @@ -233,14 +233,11 @@ func DisplayNotes(notes []*Note) error { title = "(untitled)" } - filename := filepath.Base(n.Path) - buf.WriteString(filename) - buf.WriteString(" : ") buf.WriteString(title) if len(n.Keywords) > 0 { fmt.Fprintf(&buf, " (%s)", strings.Join(n.Keywords, ", ")) } - fmt.Fprintf(&buf, " [%s]\n", n.Path) + fmt.Fprintf(&buf, "\n%s\n\n", n.Path) } w.Write("body", []byte(buf.String()))