A minimal knowledge base theme for Zola, inspired by Grokipedia’s dark UI.
- Fast static site (Zola)
- Fuzzy search (Fuse.js) with Cmd/Ctrl + K
- Responsive, dark theme
- Auto-generated TOC with active highlighting
-
Install Zola: https://www.getzola.org/documentation/getting-started/installation/
-
Run the dev server:
zola serve
Add a Markdown file under content/:
+++
title = "Your Article Title"
date = 2024-01-15
description = "Article description"
tags = ["tag1", "tag2"]
+++
# Your Article Title
Your content here...
-
Math (KaTeX)
{% math() %} E = mc^2 {% end %}Inline:
$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ -
Mermaid
{% mermaid() %} graph TD A[Start] --> B[Process] B --> C[End] {% end %}
- Build:
zola build(outputspublic/) - GitHub Pages: deploy
public/ - Netlify: Build command
zola build, publishpublic