Быстрый статический блог на генераторе Zola.
-
Локальный сервер с live-reload:
cd ~/blog zola serve
Сайт будет доступен по адресу:
http://127.0.0.1:1111 -
Сборка в директорию
public/:zola build
-
Проверка ссылок и разметки:
zola check
config.toml— основные параметры сайта, ссылки, язык, RSS.content/— статьи (posts/), страницы (about.md) в Markdown.templates/— Tera-шаблоны (base.html,index.html,page.html,section.html,tags/).static/— CSS-стили, изображения, шрифты..github/workflows/deploy.yml— автоматический CI/CD деплой на GitHub Pages.
Создайте файл content/posts/my-new-post.md:
+++
title = "Заголовок статьи"
date = 2026-10-07
description = "Краткое описание"
[taxonomies]
tags = ["rust", "systems"]
+++
Текст статьи в Markdown...- Инициализируйте git-репозиторий и запушьте в GitHub:
cd ~/blog git init git add . git commit -m "Initial blog setup" git remote add origin [email protected]:<username>/<repo>.git git push -u origin main
- В репозитории GitHub: Settings -> Pages -> Source: выберите GitHub Actions.
- В
config.tomlукажите ваш финальный URL вbase_url:base_url = "https://<username>.github.io/<repo>" # или кастомный домен