Config Site

All About Zola

Updated on:

Author: Harry Min Khant

Published on:

Total words: 709

Reading time: 4minute


Zola is a static site generator written in Rust language powered by Tera as its templating engine.

It is one of the well-known static site generators available today, designed to be easy, flexible, and lightweight. You write your site's content in Markdown, and Zola will build the site for you as HTML files, ready to be served on your server. While other static site generators are available, they are not as simple as Zola, which requires no additional libraries to install. This makes it a perfect, time-saving solution for speed, stability, clean layouts, and ease of use.

Features

Installation

Zola doesn't need to be installed. Just download an available release and extract the zip. Make sure to create a folder named zola in a suitable location on your disk, typically where you plan to store the Zola executable. Place all files in this folder; only zola.exe is required, while other files and folders are optional.

On Windows, it is recommended to add the zola executable to the environment variable.

  1. Search for "Environment" in the Start menu and click on Edit the system environment variables.
  2. In the System Properties window, click Environment Variables, then click New.
  3. In the Variable name field, type zola or any name you prefer. This will be used to interact with Zola.
  4. Click Browse File, and select the Zola executable file.
  5. Save all the changes you made to the environment variables.

To interact with zola, you can use %your_zola_var_name, for example, %zola%.

Usage

Navigate to the directory where you want Zola to build your site.

Next, press F4 to open the address bar, select all the text, and delete it. Then, type cmd and press Enter.

You are now in the Command Prompt window. We will refer to this as the Command Prompt window, so make sure to remember how to access it as described in the steps above.

init

Type the following command in your Command Promt window.

%zola% init mysite

Replace mysite with your site name

You will be asked a few questions.

For more information on its usage, please visit the official website above.

Themes

Well well well, here is the theme I created if you want to use it for accessibility. Zluinav

Come to me

If you want to send a message and get in touch with me, check out below.

Keep in touch with me

Don't let miss anything from me!

Useful links

About me Contact me Community Policy Privacy Policy Accessibility