From 8e74399c75d0f40ef3a2186041b49bb3d0ad0da9 Mon Sep 17 00:00:00 2001 From: zloylinux Date: Thu, 6 Mar 2025 19:56:47 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=B8=D0=BD=D1=81=D1=82=D1=80=D1=83=D0=BA=D1=86?= =?UTF-8?q?=D0=B8=D1=8F=20=D0=BF=D0=BE=20=D1=83=D1=81=D1=82=D0=B0=D0=BD?= =?UTF-8?q?=D0=BE=D0=B2=D0=BA=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index b7c6f12..02868a7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,33 @@ # blog.zlinux.ru Мой блог на [zola](https://github.com/getzola/zola) с измененной темой оформления (gruvbox) от [tabi](https://github.com/welpo/tabi). +## Установка zola + +```$ sudo pacman -S zola``` + +Инициализируем новый сайт (blog для примера) +```$ zola init blog``` + +Отвечаем на несколько вопросов +``` +> What is the URL of your site? (https://example.com): https://адрес_сайта.ru +> Do you want to enable Sass compilation? [Y/n]: y +> Do you want to enable syntax highlighting? [y/N]: y +> Do you want to build a search index of the content? [y/N]: y +``` +Клонируем резиторий + +```$ git clone https://gitea.zlinux.ru/gitea/zloy_linux/blog.zlinux.ru.git ~/blog``` + +переходим в директорию нашего блога + +```$ cd ~/blog``` + +Собираем и запускаем +``` +``` +$ zola build +$ zola serve +``` +