|
|
|
|
|
by qu83rt
2232 days ago
|
|
Thanks for the feedback! Nift can certainly be used without any scripting (whether it be pre/post build scripts, injecting output from external scripts or its own in-built scripting abilities with n++/f++). I do worry that things like Lua/ExprTk etc. might scare people who just need a basic static website generator, as I think Nift should still be one of the easiest to use for basic html/css/js websites. One thing I hope I've succeeded at is ensuring the barebones of a project is quite basic (check out what you get if you run `nsm init-html` in an empty directory if you try installing). If you want you can easily just use Nift's functionality for injecting/inputting content from files at build time then just use basic html/css/js/etc. for your website, while also aiming to be able to integrate with basically any other tool you could possibly want. It is quite a bit of work to set up things from scratch, but as you identified it's hopefully quite easy to set up templates/boilerplate to be replicated for other projects. In that regard Nift attempts to be unopinionated. I am not quite sure what you mean by separating markup from content either? The templating system is extremely flexible with how you can lay your files out, inject content from basically wherever etc.. |
|