From fd187da71d547a062f98173ca8bb578f71cdcf13 Mon Sep 17 00:00:00 2001 From: adnano Date: Fri, 19 Mar 2021 23:44:02 -0400 Subject: [PATCH] Fix Gemini content output path --- format.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/format.go b/format.go index 63f8572..e0bb10c 100644 --- a/format.go +++ b/format.go @@ -19,7 +19,7 @@ func (f FormatFunc) Format(p *Page, cfg *Config) (string, []byte) { // FormatGemini formats the page as Gemini text. func FormatGemini(p *Page, cfg *Config) (path string, content []byte) { - path = pathpkg.Join(path, "index.gmi") + path = pathpkg.Join(p.Path, "index.gmi") content = []byte(p.Content) return }