Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
June 12, 2022 06:35 am GMT

Statiz - Finally a simple static website generator

Hello to all,

Have you ever had to build a static website? Usually, you can do this with a few HTML files, a little CSS. However, this can quickly become repetitive: your HTML files multiply, and differ only by a few lines of code, your CSS grows, and contains many repetitions, which makes your project difficult to maintain.

There are solutions to fight against this, which are static website generators. However, I found that most of them are usually quite complex to use and limit you in the structure and design of your website. Do you agree with me?

That's why I decided to create Statiz: https://github.com/aclarembeau/statiz, an easy to use website generator that doesn't require any special learning. It works with two commands, nothing more:

statiz build statiz serve

And it doesn't require any configuration. Thanks to a module system, it will allow you to add automatically to your project:

  • SCSS file compilation, to make your styling less repetitive
  • EJS templates, to unify your HTML

All this with a local server with hot-reload.

In order to make everyone benefit from it, I put it online for free on Github. Don't hesitate to send me your comments, or to use it for your projects ;)


Original Link: https://dev.to/aclarembeau/statiz-finally-a-simple-static-website-generator-5c4o

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To