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
c382c296c8
commit
fd187da71d
|
@ -19,7 +19,7 @@ func (f FormatFunc) Format(p *Page, cfg *Config) (string, []byte) {
|
||||||
|
|
||||||
// FormatGemini formats the page as Gemini text.
|
// FormatGemini formats the page as Gemini text.
|
||||||
func FormatGemini(p *Page, cfg *Config) (path string, content []byte) {
|
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)
|
content = []byte(p.Content)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue