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.

Docs and QoL fixes

+12 -4
+8 -4
build.go
··· 93 93 } 94 94 95 95 func viteBuild() { 96 - printMsg("executing pre-build actions...") 97 - execute(cfg.Prebuild) 96 + if cfg.Prebuild != "" { 97 + printMsg("executing pre-build actions...") 98 + execute(cfg.Prebuild) 99 + } 98 100 err := filepath.Walk("./pages", func(path string, info os.FileInfo, err error) error { 99 101 if err != nil { 100 102 printErr(err) ··· 132 134 printMsg("site build complete") 133 135 printMsg("generating feeds...") 134 136 generateRSS(posts, cfg) 135 - printMsg("executing post-build actions...") 136 - execute(cfg.Postbuild) 137 + if cfg.Postbuild != "" { 138 + printMsg("executing post-build actions...") 139 + execute(cfg.Postbuild) 140 + } 137 141 }
+4
readme
··· 26 26 build builds the current project 27 27 new PATH create a new markdown post 28 28 29 + NOTES 30 + 31 + vite generates Atom feeds for all documents under the `pages/blog/` 32 + directory. 29 33 30 34 [1]: https://github.com/icyphox/site