mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2025-10-25 12:47:41 +00:00
Update mycomarkup to v0.1.0
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
"github.com/bouncepaw/mycorrhiza/hyphae"
|
||||
"github.com/bouncepaw/mycorrhiza/util"
|
||||
|
||||
"github.com/bouncepaw/mycomarkup/legacy"
|
||||
"github.com/bouncepaw/mycomarkup/doc"
|
||||
)
|
||||
|
||||
func geminiHomeHypha(w *gemini.ResponseWriter, rq *gemini.Request) {
|
||||
@@ -46,7 +46,7 @@ func geminiHypha(w *gemini.ResponseWriter, rq *gemini.Request) {
|
||||
if h.Exists {
|
||||
fileContentsT, errT := ioutil.ReadFile(h.TextPath)
|
||||
if errT == nil {
|
||||
md := markup.Doc(hyphaName, string(fileContentsT))
|
||||
md := doc.Doc(hyphaName, string(fileContentsT))
|
||||
contents = md.AsGemtext()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user