Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Customize Juice theme header and navigation
Maximilian Roos4df03afe1a2d
diff --git a/docs/config.toml b/docs/config.tomlindex 9e4d22a68..49e394df2 100644--- a/docs/config.toml+++ b/docs/config.toml@@ -17,7 +17,6 @@ juice_logo_path = "logo.svg"rust_crate = "worktrunk"github_repo = "max-sixty/worktrunk"site_description = "CLI for Git worktree management, designed for parallel AI agent workflows."-juice_exclude_menu = ["Quick Start", "Concepts", "Configuration", "Commands Reference", "Advanced Features", "FAQ"]juice_extra_menu = [{ title = "Get Started", link = "/quickstart" },{ title = "Tips", link = "/tips-patterns" },diff --git a/docs/templates/base.html b/docs/templates/base.htmlindex 73ca92e33..3114d4e2e 100644--- a/docs/templates/base.html+++ b/docs/templates/base.html@@ -1,4 +1,3 @@-{% import "juice/templates/_macros.html" as macros %}{% extends "juice/templates/index.html" %}{% block favicon %}@@ -67,7 +66,17 @@{% block header %}<header>- {{ macros::render_header() }}+ <a href="/">+ <div class="logo">+ <img src="{{ get_url(path=config.extra.juice_logo_path) }}" alt="logo">+ {{ config.extra.juice_logo_name }}+ </div>+ </a>+ <nav>+ {% for menu in config.extra.juice_extra_menu %}+ <a class="nav-item subtitle-text" href="{{ menu.link | safe }}">{{ menu.title }}</a>+ {% endfor %}+ </nav></header><div class="hero">{% block hero %}{% endblock hero %}