fork of anirudh.fi/vite that uses chroma for hl
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix AtomLink

+2 -1
+2 -1
atom/feed.go
··· 2 2 3 3 import ( 4 4 "encoding/xml" 5 + "path/filepath" 5 6 "time" 6 7 7 8 "git.icyphox.sh/vite/config" ··· 63 64 Title: p.Meta["title"], 64 65 Updated: rfc3339, 65 66 ID: NewUUID().String(), 66 - Link: &AtomLink{Href: config.URL + srcDir + p.Meta["slug"]}, 67 + Link: &AtomLink{Href: filepath.Join(config.URL, srcDir, p.Meta["slug"])}, 67 68 Summary: &AtomSummary{Content: string(p.HTML), Type: "html"}, 68 69 } 69 70 entries = append(entries, entry)