mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-10-30 01:13:08 +00:00
Fix Gemini content output path
This commit is contained in:
parent
a2d35e790b
commit
acfe42c25f
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue