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 conditional

+2 -2
+2 -2
build.go
··· 93 93 } 94 94 95 95 func viteBuild() { 96 - if len(cfg.Prebuild) == 0 { 96 + if len(cfg.Prebuild) != 0 { 97 97 printMsg("executing pre-build actions...") 98 98 execute(cfg.Prebuild) 99 99 } ··· 134 134 printMsg("site build complete") 135 135 printMsg("generating feeds...") 136 136 generateRSS(posts, cfg) 137 - if len(cfg.Postbuild) == 0 { 137 + if len(cfg.Postbuild) != 0 { 138 138 printMsg("executing post-build actions...") 139 139 execute(cfg.Postbuild) 140 140 }