Updated November 05, 2025

Get Started

Zokipedia is a theme for Zola. To use this documentation, you need to install Zola first. You can install it on various operating systems with a simple command like the one below.

# macOS Example
brew install zola

For more details, please refer to the official installation guide on the Zola website.

Once you have Zola installed, create a new Zola site as follows:

zola init your-docs
cd docs

You can then run the local development server with the zola serve command and view your site at http://localhost:1111.

Install the zokipedia Theme

The easiest way to install a theme in Zola is to clone it or add it as a submodule into the themes subdirectory of your Zola project.

Clone example

git clone https://github.com/hahwul/zokipedia themes/zokipedia

Submodule example

git submodule add https://github.com/hahwul/zokipedia themes/zokipedia

Update the zokipedia Theme

If you want to update the zokipedia theme to the latest version, you can do so easily:

  • If you cloned the theme:

    cd themes/zokipedia
    git pull
    
  • If you added the theme as a submodule:

    git submodule sync
    git submodule update --remote
    

This will ensure you always have the latest features and fixes from the zokipedia theme.

Set the theme in config.toml

This is the final step. Set the theme in your config.toml file to use zokipedia. Below are the configuration options you can customize, grouped by category.

Basic Site Configuration

These are the fundamental settings for your site, including the base URL, title, description, and theme selection.

base_url = "https://your-site.com"
title = "Your App"
description = "Your app description"
theme = "zokipedia"

Build and Compilation Settings

Configure how Zola builds your site, such as compiling Sass files and building a search index.

# Whether to automatically compile all Sass files in the sass directory
compile_sass = true

# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true

Markdown Configuration

Settings related to Markdown processing, like syntax highlighting for code blocks.

[markdown]
# Whether to do syntax highlighting
highlight_code = true

Search Configuration

Configure the search functionality, including the index format.

[search]
index_format = "fuse_javascript"

Extra Configuration

Additional theme-specific settings under the [extra] table.

Navigation links appear in the header on the right side. Each link can have a name, URL, and optionally an icon (e.g., "github").

[extra]
nav_links = [
    { name = "Home", url = "/" },
    { name = "Docs", url = "/docs" },
    { name = "GitHub", url = "https://github.com/your-repo", icon = "github" },
]

Set the height of the top navigation in pixels. The default is 64px.

nav_height = 80  # Height of the top navigation in pixels (default: 64px)

Configure the footer with text links and copyright text.

[extra.footer]
links = [
    { text = "Contact", url = "/contact" },
    { text = "Privacy Policy", url = "/privacy" }
]
copyright = "© Your Name. All rights reserved."

Now, when you run Zola, it will use the zokipedia theme.

zola serve

However, since you don't have any content yet, you will only see a blank page with a brilliant color. In the next document, we'll create our first page.