mirror of
https://git.sr.ht/~adnano/kiln
synced 2024-12-03 14:13:54 +00:00
Fix Gemini content output path
This commit is contained in:
parent
c382c296c8
commit
fd187da71d
|
@ -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