Zola

1 min read


Hello stackers, one of the best and fast page builder using Rust language. And it is highly recommended to use it because it is very inspiring to keep moving forward. So if you ever use Jinja, like a python compiler to write python code with html. Zola is inspired by Jinja, where Jinja was first widely used by developers to create web-based python languages.

Zola · GitHub

Your one-stop static site engine Forget dependencies. Everything you need in one binary.

Zola

Okay let’s move to Quick Start :

First what we need is to install scoop, using Powershell :

> Set-ExecutionPolicy RemoteSigned -Scope CurrentUser # Optional: Needed to run a remote script the first time
> irm get.scoop.sh | iex
scoop install zola
zola init myblog
> What is the URL of your site? (https://example.com):
> Do you want to enable Sass compilation? [Y/n]:
> Do you want to enable syntax highlighting? [y/N]:
> Do you want to build a search index of the content? [y/N]:
zola serve

and serving on http://127.0.0.1:1111/

Folder Structure

├── config.toml
├── content
├── sass
├── static
├── templates
└── themes

├── config.toml
├── content/
│   └── blog/
│       ├── _index.md
│       ├── first.md
│       └── second.md
├── sass/
├── static/
├── templates/
│   ├── base.html
│   ├── blog-page.html
│   ├── blog.html
│   └── index.html
└── themes/

Additional

  • Zola uses Tera to render your website.
  • Conceptually, Zola is aligned with Astro’s “minimal client-side JavaScript” approach to web development. Zola and Astro both offer similar, zero-JavaScript-by-default performance baselines.

Okay that’s is for now. Full documentation you can find on here… cyaa..

Bima Sena

Leave a Reply

Your email address will not be published. Required fields are marked *