3 ms·
Is it possible to use scss and slim with Hugo? Does it support partials, an equivalent of liquid, investing data files? These are the things that keep me with
by andrei_says_ 9y ago
Is it possible to use scss and slim with Hugo? Does it support partials, an equivalent of liquid, investing data files?
These are the things that keep me with Jekyll and middleman.
- nathan_f77 9y agoIt doesn't look like Hugo supports scss, so you need to use gulp for that: http://danbahrami.io/articles/building-a-production-website-with-hugo-and-gulp-js/ http://danbahrami.io/articles/building-a-production-website-... You can run "gulp watch" to compile the files into /static, and Hugo's live reloading will pick up the changes. I can't find anything about slim templates. "Hugo uses Go’s html/template and text/template libraries as the basis for the templating.": https://gohugo.io/templates/introduction/ https://gohugo.io/templates/introduction/ It does support partials, and the go templates are similar to liquid. I honestly don't do much to customize Hugo, I just pick a theme, tweak the CSS, and write some blog posts. If you have a Jekyll blog with a lot of custom Ruby, then it might be difficult to switch.
- andrei_says_ 9y agoThank you. I think I’ll remain with Jekyll and middleman for now as I am quite familiar with both.