mirror of
https://github.com/jackyzha0/quartz.git
synced 2026-03-24 23:15:46 -05:00
43 lines
891 B
Markdown
43 lines
891 B
Markdown
---
|
|
title: Zola
|
|
description: "Zola is a fast static site generator in a single binary with everything built-in."
|
|
updated: 2024-02-08
|
|
compartir: true
|
|
---
|
|
|
|
## Introduction
|
|
|
|
[Zola](https:) is a fast [[./Static Site Generators|static site generator]] (SSG) contained in a single binary with everything built-in, it has no other dependencies. It is _by far_ my preferred way to build static websites.
|
|
|
|
SSGs use dynamic templates to transform content into static HTML pages. Static sites are thus very fast and require no databases, making them easy to host. Content is written in [[./Markdown|Markdown]].
|
|
|
|
## Useful Commands
|
|
|
|
```bash
|
|
zola build --base-url $DEPLOY_URL
|
|
```
|
|
|
|
```bash
|
|
zola build --output-dir $DOCUMENT_ROOT
|
|
```
|
|
|
|
```bash
|
|
zola --config config.staging.toml build
|
|
```
|
|
|
|
```bash
|
|
zola --root /path/to/project build
|
|
```
|
|
|
|
```bash
|
|
zola init
|
|
```
|
|
|
|
```bash
|
|
zola serve
|
|
```
|
|
|
|
```bash
|
|
zola check
|
|
```
|