RC Logr 20190228 074744
Thursday, 28 Feb, 2019
Finally had time to experiment with the Hugo SSG pipeline feature for real, which lets you process sass easily, and without too much reliance on npm. Make
/myproject/assets/main.scss, import your
scss files at the top (say from a library like tachyons), and then use Hugo template code in it to do some interesting stuff. I tried pulling params from
config.toml, and a conditional month check to set colors per the season, and it works a treat!
autoprefixer are installed via
Then just use the classes in your templates.RC Logr 20190228 074744 - Finally had time to experiment …