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.

Parse date format from config

+2 -1
+1 -1
build.go
··· 83 83 fm.URL, 84 84 fm.Title, 85 85 fm.Subtitle, 86 - fm.Date.Time.Format("02 January, 2006"), 86 + fm.Date.Time.Format(cfg.DateFmt), 87 87 fm.Body, 88 88 } 89 89 // combine config and matter structs
+1
config.go
··· 8 8 type Config struct { 9 9 Title string `yaml:"title"` 10 10 Header string `yaml:"header"` 11 + DateFmt string `yaml:datefmt` 11 12 SiteURL string `yaml:"siteurl"` 12 13 Description string `yaml:"description"` 13 14 Author map[string]string `yaml:"author"`