Installation Guide
This guide covers how to install Zolastrap for your Zola project.
Requirements
- Zola 0.15.0 or later
- Git (for submodule installation)
Installation Methods
Method 1: Git Submodule (Recommended)
Add Zolastrap as a Git submodule in your themes directory:
git submodule add https://github.com/marcodpt/zolastrap.git themes/zolastrap
Update the submodule:
git submodule update --init --recursive
Method 2: Clone Directly
Clone the repository into your themes folder:
git clone https://github.com/marcodpt/zolastrap.git themes/zolastrap
Method 3: Download
Download the latest release and extract to your themes folder.
Configuration
After installation, update your config.toml:
theme = "zolastrap"
[extra]
title: "My Site"
description: "A site powered by Zola and Zolastrap"
Verify Installation
Run the Zola development server:
zola serve
Visit http://127.0.0.1:1111 to see your site with the Zolastrap theme.
Troubleshooting
Theme Not Found
Ensure your themes/ directory contains the zolastrap folder:
ls themes/
# Should show: zolastrap
Assets Not Loading
Check that output_dir in config.toml is correctly set (default: public).