Written by Weilet
on
on
Set up your blog with zola
zola is a fast static site generator in a single binary with everything built-in. This article is about how to build a blog in Github Pages with zola
Initialize your blog
Install zola
I use WSL on Windows 10, with Homebrew as a package manager, and the install command is:
brew install Zola
Initialize a directory
use zola init
command to initialize a directory
zola init blog
Install theme
Go to theme directory
cd blog/themes
Clone the theme you want
git clone https://github.com/carpetscheme/lightspeed.git
Config in config.toml
theme="lightspeed"
Auto CI/CD
See official doc: here
Conclusion 🐱
Pros:
- Easy to install
- All in one binary
- Fast
Cons:
- Not that many theme
- Template syntax is a little bit confusing