diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..f842149 --- /dev/null +++ b/install.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# +go install ./cmd/rwiki diff --git a/server/main.go b/server/main.go index 735c96a..684dbe6 100644 --- a/server/main.go +++ b/server/main.go @@ -153,8 +153,8 @@ func (srv *Server) ProcessToHtml(urlPath, filePath string, bts []byte) ([]byte, } fmt.Fprint(&b, "
") - fmt.Fprintf(&b, string(main_section)) - fmt.Fprintf(&b, "
") + fmt.Fprint(&b, string(main_section)) + fmt.Fprint(&b, "") fmt.Fprint(&b, srv.pageFooter()) return b.Bytes(), nil }