mirror of
https://github.com/max-sixty/worktrunk.git
synced 2026-09-14 20:00:38 +08:00
56d7bb825d
Search Console flagged two indexing issues on worktrunk.dev: **"Alternate page with proper canonical tag"**: the sitemap listed `/worktrunk/`, which canonicalizes to `/` (its content is rendered on the homepage via `templates/index.html`). Only canonicals belong in a sitemap. Skip sitemap entries whose frontmatter declares a canonical. **"Page with redirect"**: the `extra_menu` links `/worktrunk` and `/tips-patterns` had no trailing slash, so every page's nav triggered a 301 on GitHub Pages. Added the trailing slashes. Verified locally with `zola build`: sitemap goes from 14 to 13 entries (no more `/worktrunk/`), `/worktrunk/` page still served with canonical = `/`, and built nav hrefs now have trailing slashes. Search Console also reported "Not found (404)" — those are old renamed URLs (`/why-worktrunk/`, `/quickstart/`, `/advanced/`) that no longer exist. Left alone here: a static 404 is correct, and adding meta-refresh redirect stubs would just create new "Page with redirect" entries. > _This was written by Claude Code on behalf of @max-sixty_ Co-authored-by: Claude <noreply@anthropic.com>
30 lines
822 B
TOML
30 lines
822 B
TOML
# Zola configuration for Worktrunk documentation
|
|
base_url = "https://worktrunk.dev/"
|
|
|
|
compile_sass = true
|
|
build_search_index = true
|
|
|
|
title = "Worktrunk"
|
|
|
|
[markdown]
|
|
insert_anchor_links = "heading"
|
|
|
|
[markdown.highlighting]
|
|
style = "class"
|
|
light_theme = "worktrunk-light"
|
|
dark_theme = "base16-ocean-dark"
|
|
extra_themes = ["themes/worktrunk-light.json", "themes/base16-ocean-dark.json"]
|
|
error_on_missing_language = true
|
|
|
|
[extra]
|
|
logo_name = "Worktrunk"
|
|
logo_path = "logo.png"
|
|
rust_crate = "worktrunk"
|
|
github_repo = "max-sixty/worktrunk"
|
|
site_description = "CLI for Git worktree management, designed for parallel AI agent workflows."
|
|
extra_menu = [
|
|
{ title = "Worktrunk", link = "/worktrunk/" },
|
|
{ title = "Tips", link = "/tips-patterns/" },
|
|
{ title = "GitHub", link = "https://github.com/max-sixty/worktrunk" },
|
|
]
|